Serializable, Comparable<AwsSystemSetting>, SystemSettingpublic enum AwsSystemSetting extends Enum<AwsSystemSetting> implements SystemSetting
JavaSystemSetting| Enum Constant | Description |
|---|---|
AWS_ACCESS_KEY_ID |
Configure the AWS access key ID used in the
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. |
AWS_BINARY_ION_ENABLED |
Whether binary ION representation optimization should automatically be used if the service supports ION.
|
AWS_CBOR_ENABLED |
Whether CBOR optimization should automatically be used if its support is found on the classpath and the service supports
CBOR-formatted JSON.
|
AWS_CONFIG_FILE |
Configure the default configuration file used in the
SystemSettingsProfileLocationProvider. |
AWS_CONTAINER_CREDENTIALS_PATH |
The elastic container metadata service path that should be called by the
ElasticContainerCredentialsProvider when
loading credentials form the container metadata service. |
AWS_CONTAINER_SERVICE_ENDPOINT |
The elastic container metadata service endpoint that should be called by the
ElasticContainerCredentialsProvider
when loading data from the container metadata service. |
AWS_DEFAULT_METRICS |
|
AWS_DEFAULT_PROFILE |
Configure the default profile that should be loaded from the
AWS_CONFIG_FILE when using configuration files for
configuring the SDK. |
AWS_EC2_METADATA_SERVICE_ENDPOINT |
The EC2 instance metadata service endpoint that should be called by the
InstanceProfileCredentialsProvider and
InstanceProfileRegionProvider when loading data from the EC2 instance metadata service. |
AWS_EXECUTION_ENV |
The execution environment of the SDK user.
|
AWS_IN_REGION_OPTIMIZATION_ENABLED |
Whether the default configuration applied to AWS clients should be optimized for services within the same region.
|
AWS_REGION |
Configure the default region used in the
SystemSettingsRegionProvider. |
AWS_SECRET_ACCESS_KEY |
Configure the AWS secret access key used in the
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. |
AWS_SESSION_TOKEN |
Configure the AWS session token used in the
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. |
| Modifier and Type | Method | Description |
|---|---|---|
String |
defaultValue() |
The default value of the setting (or empty if there is no default).
|
String |
environmentVariable() |
The environment variable of the setting (or null if there is no environment variable for this setting).
|
String |
property() |
The system property of the setting (or null if there is no property for this setting).
|
static AwsSystemSetting |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AwsSystemSetting[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetBooleanValue, getBooleanValueOrThrow, getStringValue, getStringValueOrThrowpublic static final AwsSystemSetting AWS_ACCESS_KEY_ID
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. This value is checked by the DefaultCredentialsProvider, which is used
when clients are created with no credential provider specified via
ClientBuilder.credentialsProvider(AwsCredentialsProvider).
This value will not be ignored if the AWS_SECRET_ACCESS_KEY is not specified.AwsCredentialspublic static final AwsSystemSetting AWS_SECRET_ACCESS_KEY
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. This value is checked by the DefaultCredentialsProvider, which is used
when clients are created with no credential provider specified via
ClientBuilder.credentialsProvider(AwsCredentialsProvider).
This value will not be ignored if the AWS_ACCESS_KEY_ID is not specified.AwsCredentialspublic static final AwsSystemSetting AWS_SESSION_TOKEN
EnvironmentVariableCredentialsProvider and
SystemPropertyCredentialsProvider. This value is checked by the DefaultCredentialsProvider, which is used
when clients are created with no credential provider specified via
ClientBuilder.credentialsProvider(AwsCredentialsProvider).
This value will not be ignored if the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are not specified.AwsSessionCredentialspublic static final AwsSystemSetting AWS_REGION
SystemSettingsRegionProvider. This value is checked by the
ClientBuilder when no region is specified via ClientBuilder.region(Region).Regionpublic static final AwsSystemSetting AWS_CONFIG_FILE
SystemSettingsProfileLocationProvider. This value is
checked by the DefaultCredentialsProvider, which is used when clients are created with no credential provider
specified via ClientBuilder.credentialsProvider(AwsCredentialsProvider).
See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html for more information on configuring the
SDK via a configuration file.ProfileCredentialsProviderpublic static final AwsSystemSetting AWS_DEFAULT_PROFILE
AWS_CONFIG_FILE when using configuration files for
configuring the SDK.AWS_CONFIG_FILEpublic static final AwsSystemSetting AWS_IN_REGION_OPTIMIZATION_ENABLED
public static final AwsSystemSetting AWS_EXECUTION_ENV
public static final AwsSystemSetting AWS_EC2_METADATA_SERVICE_ENDPOINT
InstanceProfileCredentialsProvider and
InstanceProfileRegionProvider when loading data from the EC2 instance metadata service.
This allows a service running in EC2 to automatically load its credentials and region without needing to configure them
in the ClientBuilder.public static final AwsSystemSetting AWS_CONTAINER_SERVICE_ENDPOINT
ElasticContainerCredentialsProvider
when loading data from the container metadata service.
This allows a service running in an elastic container to automatically load its credentials without needing to configure
them in the ClientBuilder.
This is not used if the AWS_CONTAINER_CREDENTIALS_PATH is not specified.public static final AwsSystemSetting AWS_CONTAINER_CREDENTIALS_PATH
ElasticContainerCredentialsProvider when
loading credentials form the container metadata service. If this is not specified, credentials will not be automatically
loaded from the container metadata service.AWS_CONTAINER_SERVICE_ENDPOINTpublic static final AwsSystemSetting AWS_CBOR_ENABLED
public static final AwsSystemSetting AWS_BINARY_ION_ENABLED
public static final AwsSystemSetting AWS_DEFAULT_METRICS
AwsSdkMetricspublic static AwsSystemSetting[] values()
for (AwsSystemSetting c : AwsSystemSetting.values()) System.out.println(c);
public static AwsSystemSetting valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String property()
SystemSettingproperty in interface SystemSettingpublic String environmentVariable()
SystemSettingenvironmentVariable in interface SystemSettingpublic String defaultValue()
SystemSettingdefaultValue in interface SystemSettingCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.