@Stability(value=Stable) public static final class CfnInstance.DiskProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.DiskProperty>
CfnInstance.DiskProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnInstance.DiskProperty.Builder diskName(String diskName)
CfnInstance.DiskProperty.getDiskName()diskName - The unique name of the disk. This parameter is required.this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder path(String path)
CfnInstance.DiskProperty.getPath()path - The disk path. This parameter is required.this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder attachedTo(String attachedTo)
CfnInstance.DiskProperty.getAttachedTo()attachedTo - The resources to which the disk is attached.this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder attachmentState(String attachmentState)
CfnInstance.DiskProperty.getAttachmentState()attachmentState - (Deprecated) The attachment state of the disk.
In releases prior to November 14, 2017, this parameter returned
attachedfor system disks in the API response. It is now deprecated, but still included in the response. UseisAttachedinstead.
this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder iops(Number iops)
CfnInstance.DiskProperty.getIops()iops - The input/output operations per second (IOPS) of the disk.this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder isSystemDisk(Boolean isSystemDisk)
CfnInstance.DiskProperty.getIsSystemDisk()isSystemDisk - A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder isSystemDisk(IResolvable isSystemDisk)
CfnInstance.DiskProperty.getIsSystemDisk()isSystemDisk - A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).this@Stability(value=Stable) public CfnInstance.DiskProperty.Builder sizeInGb(String sizeInGb)
CfnInstance.DiskProperty.getSizeInGb()sizeInGb - The size of the disk in GB.this@Stability(value=Stable) public CfnInstance.DiskProperty build()
build in interface software.amazon.jsii.Builder<CfnInstance.DiskProperty>CfnInstance.DiskPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.