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
  • 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

      protected Jsii$Proxy(CfnInstance.HardwareProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnInstance.HardwareProperty.Builder.
  • Method Details

    • getCpuCount

      public final Number getCpuCount()
      Description copied from interface: CfnInstance.HardwareProperty
      The number of vCPUs the instance has.

      The CpuCount property is read-only and should not be specified in a create instance or update instance request.

      Specified by:
      getCpuCount in interface CfnInstance.HardwareProperty
    • getDisks

      public final Object getDisks()
      Description copied from interface: CfnInstance.HardwareProperty
      The 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:
      getDisks in interface CfnInstance.HardwareProperty
    • getRamSizeInGb

      public final Number getRamSizeInGb()
      Description copied from interface: CfnInstance.HardwareProperty
      The amount of RAM in GB on the instance (for example, 1.0 ).

      The RamSizeInGb property is read-only and should not be specified in a create instance or update instance request.

      Specified by:
      getRamSizeInGb in interface CfnInstance.HardwareProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object