Package org.jclouds.s3.domain
Enum ObjectMetadata.StorageClass
- java.lang.Object
-
- java.lang.Enum<ObjectMetadata.StorageClass>
-
- org.jclouds.s3.domain.ObjectMetadata.StorageClass
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectMetadata.StorageClass>
- Enclosing interface:
- ObjectMetadata
public static enum ObjectMetadata.StorageClass extends Enum<ObjectMetadata.StorageClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEEP_ARCHIVE
GLACIER
INTELLIGENT_TIERING
ONEZONE_IA
REDUCED_REDUNDANCY
STANDARD
STANDARD_IA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectMetadata.StorageClass
fromTier(Tier tier)
Tier
toTier()
static ObjectMetadata.StorageClass
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectMetadata.StorageClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final ObjectMetadata.StorageClass STANDARD
-
STANDARD_IA
public static final ObjectMetadata.StorageClass STANDARD_IA
-
ONEZONE_IA
public static final ObjectMetadata.StorageClass ONEZONE_IA
-
INTELLIGENT_TIERING
public static final ObjectMetadata.StorageClass INTELLIGENT_TIERING
-
REDUCED_REDUNDANCY
public static final ObjectMetadata.StorageClass REDUCED_REDUNDANCY
-
GLACIER
public static final ObjectMetadata.StorageClass GLACIER
-
DEEP_ARCHIVE
public static final ObjectMetadata.StorageClass DEEP_ARCHIVE
-
-
Method Detail
-
values
public static ObjectMetadata.StorageClass[] 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 (ObjectMetadata.StorageClass c : ObjectMetadata.StorageClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectMetadata.StorageClass 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
-
fromTier
public static ObjectMetadata.StorageClass fromTier(Tier tier)
-
toTier
public Tier toTier()
-
-