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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.DeprecateRuleProperty
CfnLifecyclePolicy.DeprecateRuleProperty.Builder, CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.DeprecateRuleProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
getCount()
If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.final Number
If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.final String
The unit of time in which to measure the Interval .final int
hashCode()
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.DeprecateRuleProperty
If 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:
getCount
in interfaceCfnLifecyclePolicy.DeprecateRuleProperty
- See Also:
-
getInterval
Description copied from interface:CfnLifecyclePolicy.DeprecateRuleProperty
If 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:
getInterval
in interfaceCfnLifecyclePolicy.DeprecateRuleProperty
- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicy.DeprecateRuleProperty
The unit of time in which to measure the Interval .- Specified by:
getIntervalUnit
in interfaceCfnLifecyclePolicy.DeprecateRuleProperty
- 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()
-