@Stability(value=Stable)
public static interface CfnBucket.RuleProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
RuleProperty ruleProperty = RuleProperty.builder()
.status("status")
// the properties below are optional
.abortIncompleteMultipartUpload(AbortIncompleteMultipartUploadProperty.builder()
.daysAfterInitiation(123)
.build())
.expirationDate(new Date())
.expirationInDays(123)
.expiredObjectDeleteMarker(false)
.id("id")
.noncurrentVersionExpiration(NoncurrentVersionExpirationProperty.builder()
.noncurrentDays(123)
// the properties below are optional
.newerNoncurrentVersions(123)
.build())
.noncurrentVersionExpirationInDays(123)
.noncurrentVersionTransition(NoncurrentVersionTransitionProperty.builder()
.storageClass("storageClass")
.transitionInDays(123)
// the properties below are optional
.newerNoncurrentVersions(123)
.build())
.noncurrentVersionTransitions(List.of(NoncurrentVersionTransitionProperty.builder()
.storageClass("storageClass")
.transitionInDays(123)
// the properties below are optional
.newerNoncurrentVersions(123)
.build()))
.objectSizeGreaterThan(123)
.objectSizeLessThan(123)
.prefix("prefix")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.value("value")
.build()))
.transition(TransitionProperty.builder()
.storageClass("storageClass")
// the properties below are optional
.transitionDate(new Date())
.transitionInDays(123)
.build())
.transitions(List.of(TransitionProperty.builder()
.storageClass("storageClass")
// the properties below are optional
.transitionDate(new Date())
.transitionInDays(123)
.build()))
.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()
`CfnBucket.RuleProperty.AbortIncompleteMultipartUpload`.
|
default Object |
getExpirationDate()
`CfnBucket.RuleProperty.ExpirationDate`.
|
default Number |
getExpirationInDays()
`CfnBucket.RuleProperty.ExpirationInDays`.
|
default Object |
getExpiredObjectDeleteMarker()
`CfnBucket.RuleProperty.ExpiredObjectDeleteMarker`.
|
default String |
getId()
`CfnBucket.RuleProperty.Id`.
|
default Object |
getNoncurrentVersionExpiration()
`CfnBucket.RuleProperty.NoncurrentVersionExpiration`.
|
default Number |
getNoncurrentVersionExpirationInDays()
`CfnBucket.RuleProperty.NoncurrentVersionExpirationInDays`.
|
default Object |
getNoncurrentVersionTransition()
`CfnBucket.RuleProperty.NoncurrentVersionTransition`.
|
default Object |
getNoncurrentVersionTransitions()
`CfnBucket.RuleProperty.NoncurrentVersionTransitions`.
|
default Number |
getObjectSizeGreaterThan()
`CfnBucket.RuleProperty.ObjectSizeGreaterThan`.
|
default Number |
getObjectSizeLessThan()
`CfnBucket.RuleProperty.ObjectSizeLessThan`.
|
default String |
getPrefix()
`CfnBucket.RuleProperty.Prefix`.
|
String |
getStatus()
`CfnBucket.RuleProperty.Status`.
|
default Object |
getTagFilters()
`CfnBucket.RuleProperty.TagFilters`.
|
default Object |
getTransition()
`CfnBucket.RuleProperty.Transition`.
|
default Object |
getTransitions()
`CfnBucket.RuleProperty.Transitions`.
|
@Stability(value=Stable) @Nullable default Object getAbortIncompleteMultipartUpload()
@Stability(value=Stable) @Nullable default Object getExpirationDate()
@Stability(value=Stable) @Nullable default Number getExpirationInDays()
@Stability(value=Stable) @Nullable default Object getExpiredObjectDeleteMarker()
@Stability(value=Stable) @Nullable default String getId()
@Stability(value=Stable) @Nullable default Object getNoncurrentVersionExpiration()
@Stability(value=Stable) @Nullable default Number getNoncurrentVersionExpirationInDays()
@Stability(value=Stable) @Nullable default Object getNoncurrentVersionTransition()
@Stability(value=Stable) @Nullable default Object getNoncurrentVersionTransitions()
@Stability(value=Stable) @Nullable default Number getObjectSizeGreaterThan()
@Stability(value=Stable) @Nullable default Number getObjectSizeLessThan()
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @NotNull String getStatus()
@Stability(value=Stable) @Nullable default Object getTagFilters()
@Stability(value=Stable) @Nullable default Object getTransition()
@Stability(value=Stable) @Nullable default Object getTransitions()
@Stability(value=Stable) static CfnBucket.RuleProperty.Builder builder()
CfnBucket.RuleProperty.Builder of CfnBucket.RulePropertyCopyright © 2021. All rights reserved.