public static final class CfnBucket.DefaultRetentionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.DefaultRetentionProperty
CfnBucket.DefaultRetentionProperty
CfnBucket.DefaultRetentionProperty.Builder, CfnBucket.DefaultRetentionProperty.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.Number |
getDays()
The number of days that you want to specify for the default retention period.
|
java.lang.String |
getMode()
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
java.lang.Number |
getYears()
The number of years that you want to specify for the default retention period.
|
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.Number getDays()
CfnBucket.DefaultRetentionProperty
If Object Lock is turned on, you must specify Mode
and specify either Days
or Years
.
getDays
in interface CfnBucket.DefaultRetentionProperty
public final java.lang.String getMode()
CfnBucket.DefaultRetentionProperty
If Object Lock is turned on, you must specify Mode
and specify either Days
or Years
.
getMode
in interface CfnBucket.DefaultRetentionProperty
public final java.lang.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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()