@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()
For responses, this returns true if the service returned a value for the DiskAttributeList property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> diskAttributeList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDiskAttributeList() method.
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 © 2022. All rights reserved.