public enum StorageClass extends Enum<StorageClass>
Enum Constant and Description |
---|
GLACIER |
REDUCED_REDUNDANCY |
STANDARD |
Modifier and Type | Method and Description |
---|---|
static StorageClass |
fromValue(String s3StorageClassString) |
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 GLACIER
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 static StorageClass fromValue(String s3StorageClassString) throws IllegalArgumentException
IllegalArgumentException
public String toString()
toString
in class Enum<StorageClass>
Copyright © 2010–2017. All rights reserved.