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.
Modifier and Type | Method and 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.
|
public static final CreateBucketDetails.StorageTier Standard
public static final CreateBucketDetails.StorageTier Archive
public static CreateBucketDetails.StorageTier[] values()
for (CreateBucketDetails.StorageTier c : CreateBucketDetails.StorageTier.values()) System.out.println(c);
public static CreateBucketDetails.StorageTier 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 CreateBucketDetails.StorageTier create(String key)
Copyright © 2016–2024. All rights reserved.