@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder,AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails>
A rule for when objects transition to specific storage classes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder |
builder() |
String |
date()
A date on which to transition objects to the specified storage class.
|
Integer |
days()
The number of days after which to transition the object to the specified storage class.
|
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 AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder> |
serializableBuilderClass() |
String |
storageClass()
The storage class to transition the object to.
|
AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String date()
A date on which to transition objects to the specified storage class. If you provide Date, you
cannot provide Days.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Date,
you cannot provide Days.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final Integer days()
The number of days after which to transition the object to the specified storage class. If you provide
Days, you cannot provide Date.
Days, you cannot provide Date.public final String storageClass()
The storage class to transition the object to. Valid values are as follows:
DEEP_ARCHIVE
GLACIER
INTELLIGENT_TIERING
ONEZONE_IA
STANDARD_IA
DEEP_ARCHIVE
GLACIER
INTELLIGENT_TIERING
ONEZONE_IA
STANDARD_IA
public AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder toBuilder()
public static AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder builder()
public static Class<? extends AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.