@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The disk name.
public String path()
The disk path.
public Integer sizeInGb()
The size of the disk in GB (e.g., 32
).
32
).public Boolean isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
public DiskInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
public static DiskInfo.Builder builder()
public static Class<? extends DiskInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.