public static enum Bucket.AutoTiering extends Enum<Bucket.AutoTiering>
The auto tiering status on the bucket. A bucket is created with auto tiering Disabled
by default.
For auto tiering InfrequentAccess
, objects are transitioned automatically between the ‘Standard’
and ‘InfrequentAccess’ tiers based on the access pattern of the objects.
Enum Constant and Description |
---|
Disabled |
InfrequentAccess |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Bucket.AutoTiering |
create(String key) |
String |
getValue() |
static Bucket.AutoTiering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bucket.AutoTiering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bucket.AutoTiering Disabled
public static final Bucket.AutoTiering InfrequentAccess
public static final Bucket.AutoTiering UnknownEnumValue
public static Bucket.AutoTiering[] values()
for (Bucket.AutoTiering c : Bucket.AutoTiering.values()) System.out.println(c);
public static Bucket.AutoTiering 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 String getValue()
public static Bucket.AutoTiering create(String key)
Copyright © 2016–2022. All rights reserved.