public static final class CfnBucket.ObjectLockRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.ObjectLockRuleProperty
CfnBucket.ObjectLockRuleProperty
CfnBucket.ObjectLockRuleProperty.Builder, CfnBucket.ObjectLockRuleProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getDefaultRetention()
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
|
int |
hashCode() |
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.public final java.lang.Object getDefaultRetention()
CfnBucket.ObjectLockRuleProperty
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 about allowable values for mode and period, see DefaultRetention .
getDefaultRetention
in interface CfnBucket.ObjectLockRuleProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()