@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder,AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
The default S3 Object Lock retention mode and period that you want to apply to new objects placed in the specified Amazon S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder |
builder() |
Integer |
days()
The number of days that you want to specify for the default retention period.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
mode()
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder> |
serializableBuilderClass() |
AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
years()
The number of years that you want to specify for the default retention period.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer days()
The number of days that you want to specify for the default retention period.
public final String mode()
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
public final Integer years()
The number of years that you want to specify for the default retention period.
public AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder toBuilder()
public static AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder builder()
public static Class<? extends AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.