Package software.amazon.awssdk.profiles
Enum ProfileFileSystemSetting
- All Implemented Interfaces:
Serializable,Comparable<ProfileFileSystemSetting>,SystemSetting
@SdkProtectedApi
public enum ProfileFileSystemSetting
extends Enum<ProfileFileSystemSetting>
implements SystemSetting
System settings for loading configuration from profile files.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfigure the default configuration file used in the ProfileFile.Configure the default profile that should be loaded from theAWS_CONFIG_FILEConfigure the default credentials file used in the ProfileFile. -
Method Summary
Modifier and TypeMethodDescriptionproperty()static ProfileFileSystemSettingReturns 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
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods 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
- Specified by:
propertyin interfaceSystemSetting
-
environmentVariable
- Specified by:
environmentVariablein interfaceSystemSetting
-
defaultValue
- Specified by:
defaultValuein interfaceSystemSetting
-