@Stability(value=Stable)
public static interface CfnBucket.ObjectLockRuleProperty
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.*; ObjectLockRuleProperty objectLockRuleProperty = ObjectLockRuleProperty.builder() .defaultRetention(DefaultRetentionProperty.builder() .days(123) .mode("mode") .years(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.ObjectLockRuleProperty.Builder
A builder for
CfnBucket.ObjectLockRuleProperty |
static class |
CfnBucket.ObjectLockRuleProperty.Jsii$Proxy
An implementation for
CfnBucket.ObjectLockRuleProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.ObjectLockRuleProperty.Builder |
builder() |
default Object |
getDefaultRetention()
`CfnBucket.ObjectLockRuleProperty.DefaultRetention`.
|
@Stability(value=Stable) @Nullable default Object getDefaultRetention()
@Stability(value=Stable) static CfnBucket.ObjectLockRuleProperty.Builder builder()
Copyright © 2021. All rights reserved.