@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() |
Integer |
count()
The number of disks with this configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DiskInfo.Builder> |
serializableBuilderClass() |
Long |
sizeInGB()
The size of the disk in GB.
|
DiskInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DiskType |
type()
The type of disk.
|
String |
typeAsString()
The type of disk.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long sizeInGB()
The size of the disk in GB.
public final Integer count()
The number of disks with this configuration.
public final DiskType type()
The type of disk.
If the service returns an enum value that is not available in the current SDK version, type will return
DiskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DiskTypepublic final String typeAsString()
The type of disk.
If the service returns an enum value that is not available in the current SDK version, type will return
DiskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DiskTypepublic 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.