@Stability(value=Stable)
public static interface CfnInstance.DiskProperty
extends software.amazon.jsii.JsiiSerializable
// 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()
`CfnInstance.DiskProperty.AttachedTo`.
|
default String |
getAttachmentState()
`CfnInstance.DiskProperty.AttachmentState`.
|
String |
getDiskName()
`CfnInstance.DiskProperty.DiskName`.
|
default Number |
getIops()
`CfnInstance.DiskProperty.IOPS`.
|
default Object |
getIsSystemDisk()
`CfnInstance.DiskProperty.IsSystemDisk`.
|
String |
getPath()
`CfnInstance.DiskProperty.Path`.
|
default String |
getSizeInGb()
`CfnInstance.DiskProperty.SizeInGb`.
|
@Stability(value=Stable) @Nullable default String getAttachedTo()
@Stability(value=Stable) @Nullable default String getAttachmentState()
@Stability(value=Stable) @NotNull String getDiskName()
@Stability(value=Stable) @Nullable default Number getIops()
@Stability(value=Stable) @Nullable default Object getIsSystemDisk()
@Stability(value=Stable) @NotNull String getPath()
@Stability(value=Stable) @Nullable default String getSizeInGb()
@Stability(value=Stable) static CfnInstance.DiskProperty.Builder builder()
CfnInstance.DiskProperty.Builder of CfnInstance.DiskPropertyCopyright © 2021. All rights reserved.