@Generated(value="software.amazon.awssdk:codegen") public final class DiskInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
Describes the 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, wait
copy
public Long sizeInGB()
The size of the disk in GB.
public Integer count()
The number of disks with this configuration.
public 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()
.
DiskType
public 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()
.
DiskType
public DiskInfo.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
public static DiskInfo.Builder builder()
public static Class<? extends DiskInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.