@Generated(value="software.amazon.awssdk:codegen") public enum BucketLocationConstraint extends Enum<BucketLocationConstraint>
Enum Constant and Description |
---|
AP_NORTHEAST_1 |
AP_SOUTH_1 |
AP_SOUTHEAST_1 |
AP_SOUTHEAST_2 |
CN_NORTH_1 |
EU |
EU_CENTRAL_1 |
EU_WEST_1 |
SA_EAST_1 |
UNKNOWN_TO_SDK_VERSION |
US_WEST_1 |
US_WEST_2 |
Modifier and Type | Method and 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.
|
public static final BucketLocationConstraint EU
public static final BucketLocationConstraint EU_WEST_1
public static final BucketLocationConstraint US_WEST_1
public static final BucketLocationConstraint US_WEST_2
public static final BucketLocationConstraint AP_SOUTH_1
public static final BucketLocationConstraint AP_SOUTHEAST_1
public static final BucketLocationConstraint AP_SOUTHEAST_2
public static final BucketLocationConstraint AP_NORTHEAST_1
public static final BucketLocationConstraint SA_EAST_1
public static final BucketLocationConstraint CN_NORTH_1
public static final BucketLocationConstraint EU_CENTRAL_1
public static final BucketLocationConstraint UNKNOWN_TO_SDK_VERSION
public static BucketLocationConstraint[] values()
for (BucketLocationConstraint c : BucketLocationConstraint.values()) System.out.println(c);
public static BucketLocationConstraint valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<BucketLocationConstraint>
public static BucketLocationConstraint fromValue(String value)
value
- real valuepublic static Set<BucketLocationConstraint> knownValues()
values()
to return a Set
of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION
.Set
of known BucketLocationConstraint
sCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.