@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDiskAttributeList()
Returns true if the DiskAttributeList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Disk.Builder> |
serializableBuilderClass() |
Disk.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String diskId()
The unique device ID or other distinguishing data that identifies a local disk.
public final String diskPath()
The path of a local disk in the gateway virtual machine (VM).
public final String diskNode()
The device node of a local disk as assigned by the virtualization environment.
public final String diskStatus()
A value that represents the status of a local disk.
public final Long diskSizeInBytes()
The local disk size in bytes.
public final String diskAllocationType()
public final 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 final boolean hasDiskAttributeList()
public final List<String> diskAttributeList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDiskAttributeList() to see if a value was sent in this field.
public Disk.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Disk.Builder,Disk>public static Disk.Builder builder()
public static Class<? extends Disk.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2020. All rights reserved.