Class AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder,AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builderbuilder()Stringdate()A date on which to transition objects to the specified storage class.Integerdays()The number of days after which to transition the object to the specified storage class.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder>serializableBuilderClass()StringstorageClass()The storage class to transition the object to.AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.BuildertoBuilder()StringtoString()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
-
date
public final String date()
A date on which to transition objects to the specified storage class. If you provide
Date, you cannot provideDays.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Returns:
- A date on which to transition objects to the specified storage class. If you provide
Date, you cannot provideDays.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
-
-
days
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 provideDate.- Returns:
- The number of days after which to transition the object to the specified storage class. If you provide
Days, you cannot provideDate.
-
storageClass
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
- Returns:
- The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE -
GLACIER -
INTELLIGENT_TIERING -
ONEZONE_IA -
STANDARD_IA
-
-
-
toBuilder
public AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder toBuilder()
-
builder
public static AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-