@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.DeprecateRuleProperty
CfnLifecyclePolicy.DeprecateRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.DeprecateRuleProperty.Builder, CfnLifecyclePolicy.DeprecateRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.DeprecateRuleProperty.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()
If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.
|
Number |
getInterval()
If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.
|
String |
getIntervalUnit()
The unit of time in which to measure the *Interval* .
|
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.DeprecateRuleProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final Number getCount()
CfnLifecyclePolicy.DeprecateRulePropertyThe count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.
getCount in interface CfnLifecyclePolicy.DeprecateRulePropertypublic final Number getInterval()
CfnLifecyclePolicy.DeprecateRulePropertyThe 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.
getInterval in interface CfnLifecyclePolicy.DeprecateRulePropertypublic final String getIntervalUnit()
CfnLifecyclePolicy.DeprecateRulePropertygetIntervalUnit in interface CfnLifecyclePolicy.DeprecateRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.