@Generated(value="software.amazon.awssdk:codegen") public final class Disk extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Disk.Builder,Disk>
Represents a gateway's local disk.
Modifier and Type | Class and Description |
---|---|
static interface |
Disk.Builder |
Modifier and Type | Method and Description |
---|---|
static Disk.Builder |
builder() |
String |
diskAllocationResource()
The iSCSI Qualified Name (IQN) that is defined for a disk.
|
String |
diskAllocationType()
Returns the value of the DiskAllocationType property for this object.
|
List<String> |
diskAttributeList()
Returns the value of the DiskAttributeList property for this object.
|
String |
diskId()
The unique device ID or other distinguishing data that identifies a local disk.
|
String |
diskNode()
The device node of a local disk as assigned by the virtualization environment.
|
String |
diskPath()
The path of a local disk in the gateway virtual machine (VM).
|
Long |
diskSizeInBytes()
The local disk size in bytes.
|
String |
diskStatus()
A value that represents the status of a local disk.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Disk.Builder> |
serializableBuilderClass() |
Disk.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 diskId()
The unique device ID or other distinguishing data that identifies a local disk.
public String diskPath()
The path of a local disk in the gateway virtual machine (VM).
public String diskNode()
The device node of a local disk as assigned by the virtualization environment.
public String diskStatus()
A value that represents the status of a local disk.
public Long diskSizeInBytes()
The local disk size in bytes.
public String diskAllocationType()
public String diskAllocationResource()
The iSCSI Qualified Name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.
public List<String> diskAttributeList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Disk.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Disk.Builder,Disk>
public static Disk.Builder builder()
public static Class<? extends Disk.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.