Enum CreateBucketDetails.StorageTier
- java.lang.Object
-
- java.lang.Enum<CreateBucketDetails.StorageTier>
-
- com.oracle.bmc.objectstorage.model.CreateBucketDetails.StorageTier
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateBucketDetails.StorageTier>
- Enclosing class:
- CreateBucketDetails
public static enum CreateBucketDetails.StorageTier extends Enum<CreateBucketDetails.StorageTier> implements BmcEnum
The type of storage tier of this bucket.A bucket is set to ‘Standard’ tier by default, which means the bucket will be put in the standard storage tier. When ‘Archive’ tier type is set explicitly, the bucket is put in the Archive Storage tier. The ‘storageTier’ property is immutable after bucket is created.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBucketDetails.StorageTier
create(String key)
String
getValue()
static CreateBucketDetails.StorageTier
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateBucketDetails.StorageTier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Standard
public static final CreateBucketDetails.StorageTier Standard
-
Archive
public static final CreateBucketDetails.StorageTier Archive
-
-
Method Detail
-
values
public static CreateBucketDetails.StorageTier[] 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 (CreateBucketDetails.StorageTier c : CreateBucketDetails.StorageTier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateBucketDetails.StorageTier 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
-
create
public static CreateBucketDetails.StorageTier create(String key)
-
-