Class ComputeInstanceScratchDisk.Jsii$Proxy

    • Constructor Detail

      • 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.
    • Method Detail

      • getInterfaceValue

        public final String getInterfaceValue()
        Description copied from interface: ComputeInstanceScratchDisk
        The disk interface used for attaching this disk. One of SCSI or NVME.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#interface ComputeInstance#interface}

        Specified by:
        getInterfaceValue in interface ComputeInstanceScratchDisk
      • getDeviceName

        public final String getDeviceName()
        Description copied from interface: ComputeInstanceScratchDisk
        Name with which the attached disk is accessible under /dev/disk/by-id/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#device_name ComputeInstance#device_name}

        Specified by:
        getDeviceName in interface ComputeInstanceScratchDisk
      • getSize

        public final Number getSize()
        Description copied from interface: ComputeInstanceScratchDisk
        The size of the disk in gigabytes. One of 375 or 3000.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#size ComputeInstance#size}

        Specified by:
        getSize in interface ComputeInstanceScratchDisk
      • $jsii$toJson

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

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