public static interface CfnBucket.RuleProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3outposts.*; Object filter; RuleProperty ruleProperty = RuleProperty.builder() .abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder() .daysAfterInitiation(123) .build()) .expirationDate("expirationDate") .expirationInDays(123) .filter(filter) .id("id") .status("status") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.RuleProperty.Builder
A builder for
CfnBucket.RuleProperty |
static class |
CfnBucket.RuleProperty.Jsii$Proxy
An implementation for
CfnBucket.RuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.RuleProperty.Builder |
builder() |
default java.lang.Object |
getAbortIncompleteMultipartUpload()
The container for the abort incomplete multipart upload rule.
|
default java.lang.String |
getExpirationDate()
Specifies the expiration for the lifecycle of the object by specifying an expiry date.
|
default java.lang.Number |
getExpirationInDays()
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.
|
default java.lang.Object |
getFilter()
The container for the filter of the lifecycle rule.
|
default java.lang.String |
getId()
The unique identifier for the lifecycle rule.
|
default java.lang.String |
getStatus()
If `Enabled` , the rule is currently being applied.
|
default java.lang.Object getAbortIncompleteMultipartUpload()
default java.lang.String getExpirationDate()
default java.lang.Number getExpirationInDays()
default java.lang.Object getFilter()
default java.lang.String getId()
The value can't be longer than 255 characters.
default java.lang.String getStatus()
If Disabled
, the rule is not currently being applied.
static CfnBucket.RuleProperty.Builder builder()
CfnBucket.RuleProperty.Builder
of CfnBucket.RuleProperty