@Generated(value="software.amazon.awssdk:codegen") public final class DiskInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
Describes a disk.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DiskInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DiskInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
String |
name()
The disk name.
|
String |
path()
The disk path.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DiskInfo.Builder> |
serializableBuilderClass() |
Integer |
sizeInGb()
The size of the disk in GB (e.g.,
32). |
DiskInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The disk name.
public final String path()
The disk path.
public final Integer sizeInGb()
The size of the disk in GB (e.g., 32).
32).public final Boolean isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
public DiskInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DiskInfo.Builder,DiskInfo>public static DiskInfo.Builder builder()
public static Class<? extends DiskInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.