Serializable
, Comparable<StorageClass>
@Generated("software.amazon.awssdk:codegen") public enum StorageClass extends Enum<StorageClass>
Enum Constant | Description |
---|---|
REDUCED_REDUNDANCY |
|
STANDARD |
|
STANDARD_IA |
Modifier and Type | Method | 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 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 valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.