Class Tiering
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.Tiering
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Tiering.Builder,Tiering>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Tiering.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Tiering.Builder>
serializableBuilderClass()
Tiering.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
days
public final 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).
- Returns:
- 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).
-
accessTier
public final 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 returnIntelligentTieringAccessTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaccessTierAsString()
.- Returns:
- 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.
- See Also:
IntelligentTieringAccessTier
-
accessTierAsString
public final 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 returnIntelligentTieringAccessTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaccessTierAsString()
.- Returns:
- 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.
- See Also:
IntelligentTieringAccessTier
-
toBuilder
public Tiering.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Tiering.Builder,Tiering>
-
builder
public static Tiering.Builder builder()
-
serializableBuilderClass
public static Class<? extends Tiering.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-