@Stability(value=Stable) public static final class CfnBucket.RuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.RuleProperty>
CfnBucket.RuleProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBucket.RuleProperty.Builder abortIncompleteMultipartUpload(CfnBucket.AbortIncompleteMultipartUploadProperty abortIncompleteMultipartUpload)
CfnBucket.RuleProperty.getAbortIncompleteMultipartUpload()abortIncompleteMultipartUpload - The container for the abort incomplete multipart upload rule.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder abortIncompleteMultipartUpload(IResolvable abortIncompleteMultipartUpload)
CfnBucket.RuleProperty.getAbortIncompleteMultipartUpload()abortIncompleteMultipartUpload - The container for the abort incomplete multipart upload rule.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder expirationDate(String expirationDate)
CfnBucket.RuleProperty.getExpirationDate()expirationDate - Specifies the expiration for the lifecycle of the object by specifying an expiry date.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder expirationInDays(Number expirationInDays)
CfnBucket.RuleProperty.getExpirationInDays()expirationInDays - Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder filter(Object filter)
CfnBucket.RuleProperty.getFilter()filter - The container for the filter of the lifecycle rule.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder id(String id)
CfnBucket.RuleProperty.getId()id - The unique identifier for the lifecycle rule.
The value can't be longer than 255 characters.this@Stability(value=Stable) public CfnBucket.RuleProperty.Builder status(String status)
CfnBucket.RuleProperty.getStatus()status - If `Enabled` , the rule is currently being applied.
If Disabled , the rule is not currently being applied.this@Stability(value=Stable) public CfnBucket.RuleProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.RuleProperty>CfnBucket.RulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.