Class CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
An implementation for
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder, CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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.CrossRegionCopyRetainRuleProperty.Builder
.
-
-
Method Details
-
getInterval
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
The amount of time to retain a cross-Region snapshot or AMI copy.The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
- Specified by:
getInterval
in interfaceCfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
The unit of time for time-based retention.For example, to retain a cross-Region copy for 3 months, specify
Interval=3
andIntervalUnit=MONTHS
.- Specified by:
getIntervalUnit
in interfaceCfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-