Enum ProfileFileSystemSetting

java.lang.Object
java.lang.Enum<ProfileFileSystemSetting>
software.amazon.awssdk.profiles.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 Details

    • AWS_CONFIG_FILE

      public static final ProfileFileSystemSetting 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

      public static final ProfileFileSystemSetting 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

      public static final ProfileFileSystemSetting AWS_PROFILE
      Configure the default profile that should be loaded from the AWS_CONFIG_FILE
      See Also:
  • Method Details

    • values

      public static ProfileFileSystemSetting[] 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

      public static ProfileFileSystemSetting valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • property

      public String property()
      Specified by:
      property in interface SystemSetting
    • environmentVariable

      public String environmentVariable()
      Specified by:
      environmentVariable in interface SystemSetting
    • defaultValue

      public String defaultValue()
      Specified by:
      defaultValue in interface SystemSetting