Enum BucketLocationConstraint
- java.lang.Object
-
- java.lang.Enum<BucketLocationConstraint>
-
- software.amazon.awssdk.services.s3.model.BucketLocationConstraint
-
- All Implemented Interfaces:
Serializable
,Comparable<BucketLocationConstraint>
@Generated("software.amazon.awssdk:codegen") public enum BucketLocationConstraint extends Enum<BucketLocationConstraint>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketLocationConstraint
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<BucketLocationConstraint>
knownValues()
String
toString()
static BucketLocationConstraint
valueOf(String name)
Returns the enum constant of this type with the specified name.static BucketLocationConstraint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AF_SOUTH_1
public static final BucketLocationConstraint AF_SOUTH_1
-
AP_EAST_1
public static final BucketLocationConstraint AP_EAST_1
-
AP_NORTHEAST_1
public static final BucketLocationConstraint AP_NORTHEAST_1
-
AP_NORTHEAST_2
public static final BucketLocationConstraint AP_NORTHEAST_2
-
AP_NORTHEAST_3
public static final BucketLocationConstraint AP_NORTHEAST_3
-
AP_SOUTH_1
public static final BucketLocationConstraint AP_SOUTH_1
-
AP_SOUTH_2
public static final BucketLocationConstraint AP_SOUTH_2
-
AP_SOUTHEAST_1
public static final BucketLocationConstraint AP_SOUTHEAST_1
-
AP_SOUTHEAST_2
public static final BucketLocationConstraint AP_SOUTHEAST_2
-
AP_SOUTHEAST_3
public static final BucketLocationConstraint AP_SOUTHEAST_3
-
CA_CENTRAL_1
public static final BucketLocationConstraint CA_CENTRAL_1
-
CN_NORTH_1
public static final BucketLocationConstraint CN_NORTH_1
-
CN_NORTHWEST_1
public static final BucketLocationConstraint CN_NORTHWEST_1
-
EU
public static final BucketLocationConstraint EU
-
EU_CENTRAL_1
public static final BucketLocationConstraint EU_CENTRAL_1
-
EU_NORTH_1
public static final BucketLocationConstraint EU_NORTH_1
-
EU_SOUTH_1
public static final BucketLocationConstraint EU_SOUTH_1
-
EU_SOUTH_2
public static final BucketLocationConstraint EU_SOUTH_2
-
EU_WEST_1
public static final BucketLocationConstraint EU_WEST_1
-
EU_WEST_2
public static final BucketLocationConstraint EU_WEST_2
-
EU_WEST_3
public static final BucketLocationConstraint EU_WEST_3
-
ME_SOUTH_1
public static final BucketLocationConstraint ME_SOUTH_1
-
SA_EAST_1
public static final BucketLocationConstraint SA_EAST_1
-
US_EAST_2
public static final BucketLocationConstraint US_EAST_2
-
US_GOV_EAST_1
public static final BucketLocationConstraint US_GOV_EAST_1
-
US_GOV_WEST_1
public static final BucketLocationConstraint US_GOV_WEST_1
-
US_WEST_1
public static final BucketLocationConstraint US_WEST_1
-
US_WEST_2
public static final BucketLocationConstraint US_WEST_2
-
UNKNOWN_TO_SDK_VERSION
public static final BucketLocationConstraint UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static BucketLocationConstraint[] 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 (BucketLocationConstraint c : BucketLocationConstraint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BucketLocationConstraint 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<BucketLocationConstraint>
-
fromValue
public static BucketLocationConstraint fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value
- real value- Returns:
- BucketLocationConstraint corresponding to the value
-
knownValues
public static Set<BucketLocationConstraint> knownValues()
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownBucketLocationConstraint
s
-
-