Interface CfnInstance.DiskProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnInstance.DiskProperty extends
Disk is a property of the Hardware property. It describes a disk attached to an instance.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DiskProperty diskProperty = DiskProperty.builder()
         // the properties below are optional
  • Method Details

    • getDiskName

      @Stability(Stable) @NotNull String getDiskName()
      The unique name of the disk.
    • getPath

      @Stability(Stable) @NotNull String getPath()
      The disk path.
    • getAttachedTo

      @Stability(Stable) @Nullable default String getAttachedTo()
      The resources to which the disk is attached.
    • getAttachmentState

      @Stability(Stable) @Nullable default String getAttachmentState()
      (Deprecated) The attachment state of the disk.

      In releases prior to November 14, 2017, this parameter returned attached for system disks in the API response. It is now deprecated, but still included in the response. Use isAttached instead.

    • getIops

      @Stability(Stable) @Nullable default Number getIops()
      The input/output operations per second (IOPS) of the disk.
    • getIsSystemDisk

      @Stability(Stable) @Nullable default Object getIsSystemDisk()
      A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
    • getSizeInGb

      @Stability(Stable) @Nullable default String getSizeInGb()
      The size of the disk in GB.
    • builder

      @Stability(Stable) static CfnInstance.DiskProperty.Builder builder()
      a CfnInstance.DiskProperty.Builder of CfnInstance.DiskProperty