Enum S3SystemSetting
- java.lang.Object
-
- java.lang.Enum<S3SystemSetting>
-
- software.amazon.awssdk.services.s3.S3SystemSetting
-
- All Implemented Interfaces:
Serializable
,Comparable<S3SystemSetting>
,SystemSetting
public enum S3SystemSetting extends Enum<S3SystemSetting> implements SystemSetting
S3 specific system setting
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS
AWS_S3_USE_ARN_REGION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultValue()
String
environmentVariable()
String
property()
static S3SystemSetting
valueOf(String name)
Returns the enum constant of this type with the specified name.static S3SystemSetting[]
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, valueOf
-
Methods inherited from interface software.amazon.awssdk.utils.SystemSetting
getBooleanValue, getBooleanValueOrThrow, getIntegerValue, getIntegerValueOrThrow, getNonDefaultStringValue, getStringValue, getStringValueOrThrow
-
-
-
-
Enum Constant Detail
-
AWS_S3_USE_ARN_REGION
public static final S3SystemSetting AWS_S3_USE_ARN_REGION
-
AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS
public static final S3SystemSetting AWS_S3_DISABLE_MULTIREGION_ACCESS_POINTS
-
-
Method Detail
-
values
public static S3SystemSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (S3SystemSetting c : S3SystemSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3SystemSetting 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 nameNullPointerException
- if the argument is null
-
property
public String property()
- Specified by:
property
in interfaceSystemSetting
-
environmentVariable
public String environmentVariable()
- Specified by:
environmentVariable
in interfaceSystemSetting
-
defaultValue
public String defaultValue()
- Specified by:
defaultValue
in interfaceSystemSetting
-
-