Class CfnLifecyclePolicy.LastLaunchedProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.LastLaunchedProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.LastLaunchedProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.LastLaunchedProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.LastLaunchedProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.LastLaunchedProperty
An implementation for
CfnLifecyclePolicy.LastLaunchedProperty
-
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.imagebuilder.CfnLifecyclePolicy.LastLaunchedProperty
CfnLifecyclePolicy.LastLaunchedProperty.Builder, CfnLifecyclePolicy.LastLaunchedProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.LastLaunchedProperty.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 String
getUnit()
Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.final Number
getValue()
The integer number of units for the time period.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.LastLaunchedProperty.Builder
.
-
-
Method Details
-
getUnit
Description copied from interface:CfnLifecyclePolicy.LastLaunchedProperty
Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.For example: days, weeks, months, or years.
- Specified by:
getUnit
in interfaceCfnLifecyclePolicy.LastLaunchedProperty
- See Also:
-
getValue
Description copied from interface:CfnLifecyclePolicy.LastLaunchedProperty
The integer number of units for the time period.For example
6
(months).- Specified by:
getValue
in interfaceCfnLifecyclePolicy.LastLaunchedProperty
- 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()
-