Enum BucketLocationConstraint
- java.lang.Object
-
- java.lang.Enum<BucketLocationConstraint>
-
- software.amazon.awssdk.services.s3control.model.BucketLocationConstraint
-
- All Implemented Interfaces:
Serializable,Comparable<BucketLocationConstraint>
@Generated("software.amazon.awssdk:codegen") public enum BucketLocationConstraint extends Enum<BucketLocationConstraint>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AP_NORTHEAST_1AP_SOUTH_1AP_SOUTHEAST_1AP_SOUTHEAST_2CN_NORTH_1EUEU_CENTRAL_1EU_WEST_1SA_EAST_1UNKNOWN_TO_SDK_VERSIONUS_WEST_1US_WEST_2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketLocationConstraintfromValue(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()StringtoString()static BucketLocationConstraintvalueOf(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
-
EU
public static final BucketLocationConstraint EU
-
EU_WEST_1
public static final BucketLocationConstraint EU_WEST_1
-
US_WEST_1
public static final BucketLocationConstraint US_WEST_1
-
US_WEST_2
public static final BucketLocationConstraint US_WEST_2
-
AP_SOUTH_1
public static final BucketLocationConstraint AP_SOUTH_1
-
AP_SOUTHEAST_1
public static final BucketLocationConstraint AP_SOUTHEAST_1
-
AP_SOUTHEAST_2
public static final BucketLocationConstraint AP_SOUTHEAST_2
-
AP_NORTHEAST_1
public static final BucketLocationConstraint AP_NORTHEAST_1
-
SA_EAST_1
public static final BucketLocationConstraint SA_EAST_1
-
CN_NORTH_1
public static final BucketLocationConstraint CN_NORTH_1
-
EU_CENTRAL_1
public static final BucketLocationConstraint EU_CENTRAL_1
-
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:
toStringin 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 aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownBucketLocationConstraints
-
-