Package software.amazon.awssdk.profiles
Enum ProfileFileSystemSetting
- All Implemented Interfaces:
Serializable
,Comparable<ProfileFileSystemSetting>
,SystemSetting
public enum ProfileFileSystemSetting
extends Enum<ProfileFileSystemSetting>
implements SystemSetting
System settings for loading configuration from profile files.
-
Enum Constant Summary
Enum ConstantDescriptionConfigure the default configuration file used in the ProfileFile.Configure the default profile that should be loaded from theAWS_CONFIG_FILE
Configure the default credentials file used in the ProfileFile. -
Method Summary
Modifier and TypeMethodDescriptionThe default value of the setting (or empty if there is no default).The environment variable of the setting (or null if there is no environment variable for this setting).property()
The system property of the setting (or null if there is no property for this setting).static ProfileFileSystemSetting
Returns the enum constant of this type with the specified name.static ProfileFileSystemSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface software.amazon.awssdk.utils.SystemSetting
getBooleanValue, getBooleanValueOrThrow, getIntegerValue, getIntegerValueOrThrow, getNonDefaultStringValue, getStringValue, getStringValueOrThrow
-
Enum Constant Details
-
AWS_CONFIG_FILE
Configure the default configuration file used in the ProfileFile. When not explicitly overridden in a client (eg. by specifying the region or credentials provider), this will be the location used when an AWS client is created. 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. -
AWS_SHARED_CREDENTIALS_FILE
Configure the default credentials file used in the ProfileFile. When not explicitly overridden in a client (eg. by specifying the region or credentials provider), this will be the location used when an AWS client is created. See http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html for more information on configuring the SDK via a credentials file. -
AWS_PROFILE
Configure the default profile that should be loaded from theAWS_CONFIG_FILE
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
property
Description copied from interface:SystemSetting
The system property of the setting (or null if there is no property for this setting).- Specified by:
property
in interfaceSystemSetting
-
environmentVariable
Description copied from interface:SystemSetting
The environment variable of the setting (or null if there is no environment variable for this setting).- Specified by:
environmentVariable
in interfaceSystemSetting
-
defaultValue
Description copied from interface:SystemSetting
The default value of the setting (or empty if there is no default). This value will be applied if the customer did not specify a setting.- Specified by:
defaultValue
in interfaceSystemSetting
-