Class ComputeInstanceScratchDisk.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceScratchDisk.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceScratchDisk,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceScratchDisk
@Stability(Stable) @Internal public static final class ComputeInstanceScratchDisk.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceScratchDisk
An implementation forComputeInstanceScratchDisk
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceScratchDisk
ComputeInstanceScratchDisk.Builder, ComputeInstanceScratchDisk.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceScratchDisk.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceScratchDisk.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetDeviceName()Name with which the attached disk is accessible under /dev/disk/by-id/.StringgetInterfaceValue()The disk interface used for attaching this disk.NumbergetSize()The size of the disk in gigabytes.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeInstanceScratchDisk.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceScratchDisk.Builder.
-
-
Method Detail
-
getInterfaceValue
public final String getInterfaceValue()
Description copied from interface:ComputeInstanceScratchDiskThe 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:
getInterfaceValuein interfaceComputeInstanceScratchDisk
-
getDeviceName
public final String getDeviceName()
Description copied from interface:ComputeInstanceScratchDiskName 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:
getDeviceNamein interfaceComputeInstanceScratchDisk
-
getSize
public final Number getSize()
Description copied from interface:ComputeInstanceScratchDiskThe 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:
getSizein interfaceComputeInstanceScratchDisk
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-