@Stability(value=Stable)
public static interface CfnBucket.RuleProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getAbortIncompleteMultipartUpload()
The container for the abort incomplete multipart upload rule.
|
default String |
getExpirationDate()
Specifies the expiration for the lifecycle of the object by specifying an expiry date.
|
default 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 Object |
getFilter()
The container for the filter of the lifecycle rule.
|
default String |
getId()
The unique identifier for the lifecycle rule.
|
default String |
getStatus()
If `Enabled` , the rule is currently being applied.
|
@Stability(value=Stable) @Nullable default Object getAbortIncompleteMultipartUpload()
@Stability(value=Stable) @Nullable default String getExpirationDate()
@Stability(value=Stable) @Nullable default Number getExpirationInDays()
@Stability(value=Stable) @Nullable default Object getFilter()
@Stability(value=Stable) @Nullable default String getId()
The value can't be longer than 255 characters.
@Stability(value=Stable) @Nullable default String getStatus()
If Disabled , the rule is not currently being applied.
@Stability(value=Stable) static CfnBucket.RuleProperty.Builder builder()
CfnBucket.RuleProperty.Builder of CfnBucket.RulePropertyCopyright © 2022. All rights reserved.