Class CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.RetainRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.RetainRuleProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.RetainRuleProperty
An implementation for
CfnLifecyclePolicy.RetainRuleProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.RetainRuleProperty
CfnLifecyclePolicy.RetainRuleProperty.Builder, CfnLifecyclePolicy.RetainRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.RetainRuleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumbergetCount()The number of snapshots to retain for each volume, up to a maximum of 1000.final NumberThe amount of time to retain each snapshot.final StringThe unit of time for time-based retention.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.RetainRuleProperty.Builder.
-
-
Method Details
-
getCount
Description copied from interface:CfnLifecyclePolicy.RetainRulePropertyThe number of snapshots to retain for each volume, up to a maximum of 1000.For example if you want to retain a maximum of three snapshots, specify
3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule .- Specified by:
getCountin interfaceCfnLifecyclePolicy.RetainRuleProperty- See Also:
-
getInterval
Description copied from interface:CfnLifecyclePolicy.RetainRulePropertyThe amount of time to retain each snapshot.The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
- Specified by:
getIntervalin interfaceCfnLifecyclePolicy.RetainRuleProperty- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicy.RetainRulePropertyThe unit of time for time-based retention.For example, to retain snapshots for 3 months, specify
Interval=3andIntervalUnit=MONTHS. Once the snapshot has been retained for 3 months, it is deleted, or it is moved to the archive tier if you have specified an ArchiveRule .- Specified by:
getIntervalUnitin interfaceCfnLifecyclePolicy.RetainRuleProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-