@Stability(value=Stable) @Internal public static final class CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.ObjectLockConfigurationProperty
CfnBucket.ObjectLockConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.ObjectLockConfigurationProperty.Builder, CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.ObjectLockConfigurationProperty.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) |
String |
getObjectLockEnabled()
Indicates whether this bucket has an Object Lock configuration enabled.
|
Object |
getRule()
Specifies the Object Lock rule for the specified object.
|
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.ObjectLockConfigurationProperty.Builder builder)
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder.public final String getObjectLockEnabled()
CfnBucket.ObjectLockConfigurationProperty
Enable ObjectLockEnabled when you apply ObjectLockConfiguration to a bucket.
getObjectLockEnabled in interface CfnBucket.ObjectLockConfigurationPropertypublic final Object getRule()
CfnBucket.ObjectLockConfigurationProperty
Enable the this rule when you apply ObjectLockConfiguration to a bucket. If Object Lock is turned on, bucket settings require both Mode and a period of either Days or Years . You cannot specify Days and Years at the same time. For more information, see ObjectLockRule and DefaultRetention .
getRule in interface CfnBucket.ObjectLockConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.