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()Map<String,SdkField<?>>sdkFieldNameToField()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.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- A date on which to transition objects to the specified storage class. If you provide
Date, you cannot provideDays.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-