@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.RetainRuleProperty
CfnLifecyclePolicy.RetainRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.RetainRuleProperty.Builder, CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.RetainRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLifecyclePolicy.ActionProperty.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) |
Number |
getCount()
The number of snapshots to retain for each volume, up to a maximum of 1000.
|
Number |
getInterval()
The amount of time to retain each snapshot.
|
String |
getIntervalUnit()
The unit of time for time-based retention.
|
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(CfnLifecyclePolicy.RetainRuleProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final Number getCount()
CfnLifecyclePolicy.RetainRulePropertygetCount in interface CfnLifecyclePolicy.RetainRulePropertypublic final Number getInterval()
CfnLifecyclePolicy.RetainRulePropertyThe maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
getInterval in interface CfnLifecyclePolicy.RetainRulePropertypublic final String getIntervalUnit()
CfnLifecyclePolicy.RetainRulePropertygetIntervalUnit in interface CfnLifecyclePolicy.RetainRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.