@Stability(value=Stable) @Internal public static final class CfnBucket.ObjectLockConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.ObjectLockConfigurationProperty
CfnBucket.ObjectLockConfigurationProperty
software.amazon.jsii.JsiiObject.InitializationMode
CfnBucket.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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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.ObjectLockConfigurationProperty
public final Object getRule()
CfnBucket.ObjectLockConfigurationProperty
Enable 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.JsiiSerializable
Copyright © 2023. All rights reserved.