Class CfnInstancePropsMixin.StateProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstancePropsMixin.StateProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstancePropsMixin.StateProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstancePropsMixin.StateProperty
@Stability(Stable)
@Internal
public static final class CfnInstancePropsMixin.StateProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInstancePropsMixin.StateProperty
An implementation for
CfnInstancePropsMixin.StateProperty-
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.cfnpropertymixins.services.ec2.CfnInstancePropsMixin.StateProperty
CfnInstancePropsMixin.StateProperty.Builder, CfnInstancePropsMixin.StateProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstancePropsMixin.StateProperty.Builder.protectedJsii$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 theCfnInstancePropsMixin.StateProperty.Builder.
-
-
Method Details
-
getCode
Description copied from interface:CfnInstancePropsMixin.StatePropertyThe state of the instance as a 16-bit unsigned integer.The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values between 256 and 65,535. These numerical values are used for internal purposes and should be ignored.
The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values between 0 and 255.
The valid values for instance-state-code will all be in the range of the low byte and they are:
0:pending16:running32:shutting-down48:terminated64:stopping80:stopped
You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in decimal.
- Specified by:
getCodein interfaceCfnInstancePropsMixin.StateProperty- See Also:
-
getName
Description copied from interface:CfnInstancePropsMixin.StatePropertyThe current state of the instance.- Specified by:
getNamein interfaceCfnInstancePropsMixin.StateProperty- 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()
-