Interface ComputeInstanceScratchDisk
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeInstanceScratchDisk.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.478Z") @Stability(Stable) public interface ComputeInstanceScratchDisk extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeInstanceScratchDisk.BuilderA builder forComputeInstanceScratchDiskstatic classComputeInstanceScratchDisk.Jsii$ProxyAn implementation forComputeInstanceScratchDisk
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeInstanceScratchDisk.Builderbuilder()default StringgetDeviceName()Name with which the attached disk is accessible under /dev/disk/by-id/.StringgetInterfaceValue()The disk interface used for attaching this disk.default NumbergetSize()The size of the disk in gigabytes.
-
-
-
Method Detail
-
getInterfaceValue
@Stability(Stable) @NotNull String getInterfaceValue()
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}
-
getDeviceName
@Stability(Stable) @Nullable default String getDeviceName()
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}
-
getSize
@Stability(Stable) @Nullable default Number getSize()
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}
-
builder
@Stability(Stable) static ComputeInstanceScratchDisk.Builder builder()
- Returns:
- a
ComputeInstanceScratchDisk.BuilderofComputeInstanceScratchDisk
-
-