@Stability(value=Stable)
public static interface CfnInstance.DiskProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
DiskProperty diskProperty = DiskProperty.builder()
.diskName("diskName")
.path("path")
// the properties below are optional
.attachedTo("attachedTo")
.attachmentState("attachmentState")
.iops(123)
.isSystemDisk(false)
.sizeInGb("sizeInGb")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.DiskProperty.Builder
A builder for
CfnInstance.DiskProperty |
static class |
CfnInstance.DiskProperty.Jsii$Proxy
An implementation for
CfnInstance.DiskProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.DiskProperty.Builder |
builder() |
default String |
getAttachedTo()
The resources to which the disk is attached.
|
default String |
getAttachmentState()
(Deprecated) The attachment state of the disk.
|
String |
getDiskName()
The unique name of the disk.
|
default Number |
getIops()
The input/output operations per second (IOPS) of the disk.
|
default Object |
getIsSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
String |
getPath()
The disk path.
|
default String |
getSizeInGb()
The size of the disk in GB.
|
@Stability(value=Stable) @NotNull String getDiskName()
@Stability(value=Stable) @NotNull String getPath()
@Stability(value=Stable) @Nullable default String getAttachedTo()
@Stability(value=Stable) @Nullable default String getAttachmentState()
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.
@Stability(value=Stable) @Nullable default Number getIops()
@Stability(value=Stable) @Nullable default Object getIsSystemDisk()
@Stability(value=Stable) @Nullable default String getSizeInGb()
@Stability(value=Stable) static CfnInstance.DiskProperty.Builder builder()
CfnInstance.DiskProperty.Builder of CfnInstance.DiskPropertyCopyright © 2022. All rights reserved.