Class CfnInstance.HardwareProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lightsail.CfnInstance.HardwareProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstance.HardwareProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnInstance.HardwareProperty
@Stability(Stable)
@Internal
public static final class CfnInstance.HardwareProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnInstance.HardwareProperty
An implementation for
CfnInstance.HardwareProperty-
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.lightsail.CfnInstance.HardwareProperty
CfnInstance.HardwareProperty.Builder, CfnInstance.HardwareProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstance.HardwareProperty.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 theCfnInstance.HardwareProperty.Builder.
-
-
Method Details
-
getCpuCount
Description copied from interface:CfnInstance.HardwarePropertyThe number of vCPUs the instance has.The
CpuCountproperty is read-only and should not be specified in a create instance or update instance request.- Specified by:
getCpuCountin interfaceCfnInstance.HardwareProperty
-
getDisks
Description copied from interface:CfnInstance.HardwarePropertyThe disks attached to the instance.The instance restarts when performing an attach disk or detach disk request. This resets the public IP address of your instance if a static IP isn't attached to it.
- Specified by:
getDisksin interfaceCfnInstance.HardwareProperty
-
getRamSizeInGb
Description copied from interface:CfnInstance.HardwarePropertyThe amount of RAM in GB on the instance (for example,1.0).The
RamSizeInGbproperty is read-only and should not be specified in a create instance or update instance request.- Specified by:
getRamSizeInGbin interfaceCfnInstance.HardwareProperty
-
$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()
-