@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Disk extends Object implements Serializable, Cloneable, StructuredPojo
Represents a gateway's local disk.
Constructor and Description |
---|
Disk() |
Modifier and Type | Method and Description |
---|---|
Disk |
clone() |
boolean |
equals(Object obj) |
String |
getDiskAllocationResource()
The iSCSI qualified name (IQN) that is defined for a disk.
|
String |
getDiskAllocationType() |
List<String> |
getDiskAttributeList() |
String |
getDiskId()
The unique device ID or other distinguishing data that identifies a local disk.
|
String |
getDiskNode()
The device node of a local disk as assigned by the virtualization environment.
|
String |
getDiskPath()
The path of a local disk in the gateway virtual machine (VM).
|
Long |
getDiskSizeInBytes()
The local disk size in bytes.
|
String |
getDiskStatus()
A value that represents the status of a local disk.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDiskAllocationResource(String diskAllocationResource)
The iSCSI qualified name (IQN) that is defined for a disk.
|
void |
setDiskAllocationType(String diskAllocationType) |
void |
setDiskAttributeList(Collection<String> diskAttributeList) |
void |
setDiskId(String diskId)
The unique device ID or other distinguishing data that identifies a local disk.
|
void |
setDiskNode(String diskNode)
The device node of a local disk as assigned by the virtualization environment.
|
void |
setDiskPath(String diskPath)
The path of a local disk in the gateway virtual machine (VM).
|
void |
setDiskSizeInBytes(Long diskSizeInBytes)
The local disk size in bytes.
|
void |
setDiskStatus(String diskStatus)
A value that represents the status of a local disk.
|
String |
toString()
Returns a string representation of this object.
|
Disk |
withDiskAllocationResource(String diskAllocationResource)
The iSCSI qualified name (IQN) that is defined for a disk.
|
Disk |
withDiskAllocationType(String diskAllocationType) |
Disk |
withDiskAttributeList(Collection<String> diskAttributeList) |
Disk |
withDiskAttributeList(String... diskAttributeList)
NOTE: This method appends the values to the existing list (if any).
|
Disk |
withDiskId(String diskId)
The unique device ID or other distinguishing data that identifies a local disk.
|
Disk |
withDiskNode(String diskNode)
The device node of a local disk as assigned by the virtualization environment.
|
Disk |
withDiskPath(String diskPath)
The path of a local disk in the gateway virtual machine (VM).
|
Disk |
withDiskSizeInBytes(Long diskSizeInBytes)
The local disk size in bytes.
|
Disk |
withDiskStatus(String diskStatus)
A value that represents the status of a local disk.
|
public void setDiskId(String diskId)
The unique device ID or other distinguishing data that identifies a local disk.
diskId
- The unique device ID or other distinguishing data that identifies a local disk.public String getDiskId()
The unique device ID or other distinguishing data that identifies a local disk.
public Disk withDiskId(String diskId)
The unique device ID or other distinguishing data that identifies a local disk.
diskId
- The unique device ID or other distinguishing data that identifies a local disk.public void setDiskPath(String diskPath)
The path of a local disk in the gateway virtual machine (VM).
diskPath
- The path of a local disk in the gateway virtual machine (VM).public String getDiskPath()
The path of a local disk in the gateway virtual machine (VM).
public Disk withDiskPath(String diskPath)
The path of a local disk in the gateway virtual machine (VM).
diskPath
- The path of a local disk in the gateway virtual machine (VM).public void setDiskNode(String diskNode)
The device node of a local disk as assigned by the virtualization environment.
diskNode
- The device node of a local disk as assigned by the virtualization environment.public String getDiskNode()
The device node of a local disk as assigned by the virtualization environment.
public Disk withDiskNode(String diskNode)
The device node of a local disk as assigned by the virtualization environment.
diskNode
- The device node of a local disk as assigned by the virtualization environment.public void setDiskStatus(String diskStatus)
A value that represents the status of a local disk.
diskStatus
- A value that represents the status of a local disk.public String getDiskStatus()
A value that represents the status of a local disk.
public Disk withDiskStatus(String diskStatus)
A value that represents the status of a local disk.
diskStatus
- A value that represents the status of a local disk.public void setDiskSizeInBytes(Long diskSizeInBytes)
The local disk size in bytes.
diskSizeInBytes
- The local disk size in bytes.public Long getDiskSizeInBytes()
The local disk size in bytes.
public Disk withDiskSizeInBytes(Long diskSizeInBytes)
The local disk size in bytes.
diskSizeInBytes
- The local disk size in bytes.public void setDiskAllocationType(String diskAllocationType)
diskAllocationType
- public String getDiskAllocationType()
public Disk withDiskAllocationType(String diskAllocationType)
diskAllocationType
- public void setDiskAllocationResource(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.
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 String getDiskAllocationResource()
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 Disk withDiskAllocationResource(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.
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 void setDiskAttributeList(Collection<String> diskAttributeList)
diskAttributeList
- public Disk withDiskAttributeList(String... diskAttributeList)
NOTE: This method appends the values to the existing list (if any). Use
setDiskAttributeList(java.util.Collection)
or withDiskAttributeList(java.util.Collection)
if
you want to override the existing values.
diskAttributeList
- public Disk withDiskAttributeList(Collection<String> diskAttributeList)
diskAttributeList
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.