@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum StorageClass extends Enum<StorageClass>
The storage class of the S3 object. Possible values are:
Enum Constant and Description |
---|
DEEP_ARCHIVE |
GLACIER |
GLACIER_IR |
INTELLIGENT_TIERING |
ONEZONE_IA |
OUTPOSTS |
REDUCED_REDUNDANCY |
STANDARD |
STANDARD_IA |
Modifier and Type | Method and Description |
---|---|
static StorageClass |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static StorageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageClass STANDARD
public static final StorageClass REDUCED_REDUNDANCY
public static final StorageClass STANDARD_IA
public static final StorageClass INTELLIGENT_TIERING
public static final StorageClass DEEP_ARCHIVE
public static final StorageClass ONEZONE_IA
public static final StorageClass GLACIER
public static final StorageClass GLACIER_IR
public static final StorageClass OUTPOSTS
public static StorageClass[] values()
for (StorageClass c : StorageClass.values()) System.out.println(c);
public static StorageClass 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<StorageClass>
public static StorageClass fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.