@Generated(value="software.amazon.awssdk:codegen") public final class Tiering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tiering.Builder,Tiering>
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead.
Modifier and Type | Class and Description |
---|---|
static interface |
Tiering.Builder |
Modifier and Type | Method and Description |
---|---|
IntelligentTieringAccessTier |
accessTier()
S3 Intelligent-Tiering access tier.
|
String |
accessTierAsString()
S3 Intelligent-Tiering access tier.
|
static Tiering.Builder |
builder() |
Integer |
days()
The number of consecutive days of no access after which an object will be eligible to be transitioned to the
corresponding tier.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tiering.Builder> |
serializableBuilderClass() |
Tiering.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Integer days()
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
public IntelligentTieringAccessTier accessTier()
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
If the service returns an enum value that is not available in the current SDK version, accessTier
will
return IntelligentTieringAccessTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from accessTierAsString()
.
IntelligentTieringAccessTier
public String accessTierAsString()
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
If the service returns an enum value that is not available in the current SDK version, accessTier
will
return IntelligentTieringAccessTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from accessTierAsString()
.
IntelligentTieringAccessTier
public Tiering.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Tiering.Builder,Tiering>
public static Tiering.Builder builder()
public static Class<? extends Tiering.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.