Class CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.DeprecateRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.DeprecateRuleProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.DeprecateRuleProperty
An implementation for
CfnLifecyclePolicy.DeprecateRuleProperty-
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.DeprecateRuleProperty
CfnLifecyclePolicy.DeprecateRuleProperty.Builder, CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.DeprecateRuleProperty.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()If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.final NumberIf the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.final StringThe unit of time in which to measure the Interval .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.DeprecateRuleProperty.Builder.
-
-
Method Details
-
getCount
Description copied from interface:CfnLifecyclePolicy.DeprecateRulePropertyIf the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.
- Specified by:
getCountin interfaceCfnLifecyclePolicy.DeprecateRuleProperty- See Also:
-
getInterval
Description copied from interface:CfnLifecyclePolicy.DeprecateRulePropertyIf the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
- Specified by:
getIntervalin interfaceCfnLifecyclePolicy.DeprecateRuleProperty- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicy.DeprecateRulePropertyThe unit of time in which to measure the Interval .- Specified by:
getIntervalUnitin interfaceCfnLifecyclePolicy.DeprecateRuleProperty- 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()
-