@Stability(value=Stable) @Internal public static final class CfnBucket.DefaultRetentionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.DefaultRetentionProperty
CfnBucket.DefaultRetentionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.DefaultRetentionProperty.Builder, CfnBucket.DefaultRetentionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.DefaultRetentionProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getDays()
The number of days that you want to specify for the default retention period.
|
String |
getMode()
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
Number |
getYears()
The number of years that you want to specify for the default retention period.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnBucket.DefaultRetentionProperty.Builder builder)
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder.public final Number getDays()
CfnBucket.DefaultRetentionProperty
If Object Lock is turned on, you must specify Mode and specify either Days or Years .
getDays in interface CfnBucket.DefaultRetentionPropertypublic final String getMode()
CfnBucket.DefaultRetentionProperty
If Object Lock is turned on, you must specify Mode and specify either Days or Years .
getMode in interface CfnBucket.DefaultRetentionPropertypublic final Number getYears()
CfnBucket.DefaultRetentionProperty
If Object Lock is turned on, you must specify Mode and specify either Days or Years .
getYears in interface CfnBucket.DefaultRetentionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.