public static interface AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder,AwsS3BucketBucketLifecycleConfigurationRulesDetails>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder abortIncompleteMultipartUpload(AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails abortIncompleteMultipartUpload)
How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.
abortIncompleteMultipartUpload - How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days
before Amazon S3 cancels the entire upload.default AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder abortIncompleteMultipartUpload(Consumer<AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails.Builder> abortIncompleteMultipartUpload)
How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.
This is a convenience method that creates an instance of theAwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails.Builder avoiding
the need to create one manually via
AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to
abortIncompleteMultipartUpload(AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails).
abortIncompleteMultipartUpload - a consumer that will call methods on
AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails.BuilderabortIncompleteMultipartUpload(AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails)AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder expirationDate(String expirationDate)
The date when objects are moved or deleted.
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.
expirationDate - The date when objects are moved or deleted.
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.
AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder expirationInDays(Integer expirationInDays)
The length in days of the lifetime for objects that are subject to the rule.
expirationInDays - The length in days of the lifetime for objects that are subject to the rule.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder expiredObjectDeleteMarker(Boolean expiredObjectDeleteMarker)
Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to true, the
delete marker is expired. If set to false, the policy takes no action.
If you provide ExpiredObjectDeleteMarker, you cannot provide ExpirationInDays or
ExpirationDate.
expiredObjectDeleteMarker - Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to true
, the delete marker is expired. If set to false, the policy takes no action.
If you provide ExpiredObjectDeleteMarker, you cannot provide
ExpirationInDays or ExpirationDate.
AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder filter(AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails filter)
Identifies the objects that a rule applies to.
filter - Identifies the objects that a rule applies to.default AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder filter(Consumer<AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails.Builder> filter)
Identifies the objects that a rule applies to.
This is a convenience method that creates an instance of theAwsS3BucketBucketLifecycleConfigurationRulesFilterDetails.Builder avoiding the need to create one
manually via AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to filter(AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails).
filter - a consumer that will call methods on
AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails.Builderfilter(AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails)AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder id(String id)
The unique identifier of the rule.
id - The unique identifier of the rule.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder noncurrentVersionExpirationInDays(Integer noncurrentVersionExpirationInDays)
The number of days that an object is noncurrent before Amazon S3 can perform the associated action.
noncurrentVersionExpirationInDays - The number of days that an object is noncurrent before Amazon S3 can perform the associated action.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder noncurrentVersionTransitions(Collection<AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails> noncurrentVersionTransitions)
Transition rules that describe when noncurrent objects transition to a specified storage class.
noncurrentVersionTransitions - Transition rules that describe when noncurrent objects transition to a specified storage class.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder noncurrentVersionTransitions(AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails... noncurrentVersionTransitions)
Transition rules that describe when noncurrent objects transition to a specified storage class.
noncurrentVersionTransitions - Transition rules that describe when noncurrent objects transition to a specified storage class.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder noncurrentVersionTransitions(Consumer<AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails.Builder>... noncurrentVersionTransitions)
Transition rules that describe when noncurrent objects transition to a specified storage class.
This is a convenience method that creates an instance of theAwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails.Builder
avoiding the need to create one manually via
AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #noncurrentVersionTransitions(List<
AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails>).
noncurrentVersionTransitions - a consumer that will call methods on
AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails.BuildernoncurrentVersionTransitions(java.util.Collection<
AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails>)AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder prefix(String prefix)
A prefix that identifies one or more objects that the rule applies to.
prefix - A prefix that identifies one or more objects that the rule applies to.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder status(String status)
The current status of the rule. Indicates whether the rule is currently being applied.
status - The current status of the rule. Indicates whether the rule is currently being applied.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder transitions(Collection<AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails> transitions)
Transition rules that indicate when objects transition to a specified storage class.
transitions - Transition rules that indicate when objects transition to a specified storage class.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder transitions(AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails... transitions)
Transition rules that indicate when objects transition to a specified storage class.
transitions - Transition rules that indicate when objects transition to a specified storage class.AwsS3BucketBucketLifecycleConfigurationRulesDetails.Builder transitions(Consumer<AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder>... transitions)
Transition rules that indicate when objects transition to a specified storage class.
This is a convenience method that creates an instance of theAwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder
avoiding the need to create one manually via
AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #transitions(List.
transitions - a consumer that will call methods on
AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails.Builder#transitions(java.util.Collection) Copyright © 2023. All rights reserved.