public static final class CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder, CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.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 |
getInterval()
The amount of time to retain each snapshot.
|
java.lang.String |
getIntervalUnit()
The unit of time for time-based retention.
|
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 getInterval()
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
getInterval
in interface CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
public final java.lang.String getIntervalUnit()
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
getIntervalUnit
in interface CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()