Enum DomainResourceReferences.StorageClass
- java.lang.Object
-
- java.lang.Enum<DomainResourceReferences.StorageClass>
-
- org.jclouds.googlecloudstorage.domain.DomainResourceReferences.StorageClass
-
- All Implemented Interfaces:
Serializable
,Comparable<DomainResourceReferences.StorageClass>
- Enclosing class:
- DomainResourceReferences
public static enum DomainResourceReferences.StorageClass extends Enum<DomainResourceReferences.StorageClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE
COLDLINE
DURABLE_REDUCED_AVAILABILITY
MULTI_REGIONAL
NEARLINE
REGIONAL
STANDARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainResourceReferences.StorageClass
fromTier(Tier tier)
Tier
toTier()
static DomainResourceReferences.StorageClass
valueOf(String name)
Returns the enum constant of this type with the specified name.static DomainResourceReferences.StorageClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARCHIVE
public static final DomainResourceReferences.StorageClass ARCHIVE
-
COLDLINE
public static final DomainResourceReferences.StorageClass COLDLINE
-
DURABLE_REDUCED_AVAILABILITY
public static final DomainResourceReferences.StorageClass DURABLE_REDUCED_AVAILABILITY
-
MULTI_REGIONAL
public static final DomainResourceReferences.StorageClass MULTI_REGIONAL
-
REGIONAL
public static final DomainResourceReferences.StorageClass REGIONAL
-
NEARLINE
public static final DomainResourceReferences.StorageClass NEARLINE
-
STANDARD
public static final DomainResourceReferences.StorageClass STANDARD
-
-
Method Detail
-
values
public static DomainResourceReferences.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 (DomainResourceReferences.StorageClass c : DomainResourceReferences.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 DomainResourceReferences.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 DomainResourceReferences.StorageClass fromTier(Tier tier)
-
toTier
public Tier toTier()
-
-