public class Disk
extends java.lang.Object
implements java.io.Serializable
Describes a gateway local disk.
| コンストラクタと説明 |
|---|
Disk() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDiskAllocationResource()
The iSCSI Qualified Name (IQN) that is defined for the disk.
|
java.lang.String |
getDiskAllocationType()
One of the DiskAllocationType enumeration values that
identifies how the local disk is used.
|
java.lang.String |
getDiskId()
The unique device ID or other distinguishing data that identify the
local disk.
|
java.lang.String |
getDiskNode()
The device node of the local disk as assigned by the virtualization
environment.
|
java.lang.String |
getDiskPath()
The path of the local disk in the gateway virtual machine (VM).
|
java.lang.Long |
getDiskSizeInBytes()
The local disk size in bytes.
|
int |
hashCode() |
void |
setDiskAllocationResource(java.lang.String diskAllocationResource)
The iSCSI Qualified Name (IQN) that is defined for the disk.
|
void |
setDiskAllocationType(DiskAllocationType diskAllocationType)
One of the DiskAllocationType enumeration values that
identifies how the local disk is used.
|
void |
setDiskAllocationType(java.lang.String diskAllocationType)
One of the DiskAllocationType enumeration values that
identifies how the local disk is used.
|
void |
setDiskId(java.lang.String diskId)
The unique device ID or other distinguishing data that identify the
local disk.
|
void |
setDiskNode(java.lang.String diskNode)
The device node of the local disk as assigned by the virtualization
environment.
|
void |
setDiskPath(java.lang.String diskPath)
The path of the local disk in the gateway virtual machine (VM).
|
void |
setDiskSizeInBytes(java.lang.Long diskSizeInBytes)
The local disk size in bytes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Disk |
withDiskAllocationResource(java.lang.String diskAllocationResource)
The iSCSI Qualified Name (IQN) that is defined for the disk.
|
Disk |
withDiskAllocationType(DiskAllocationType diskAllocationType)
One of the DiskAllocationType enumeration values that
identifies how the local disk is used.
|
Disk |
withDiskAllocationType(java.lang.String diskAllocationType)
One of the DiskAllocationType enumeration values that
identifies how the local disk is used.
|
Disk |
withDiskId(java.lang.String diskId)
The unique device ID or other distinguishing data that identify the
local disk.
|
Disk |
withDiskNode(java.lang.String diskNode)
The device node of the local disk as assigned by the virtualization
environment.
|
Disk |
withDiskPath(java.lang.String diskPath)
The path of the local disk in the gateway virtual machine (VM).
|
Disk |
withDiskSizeInBytes(java.lang.Long diskSizeInBytes)
The local disk size in bytes.
|
public java.lang.String getDiskId()
Constraints:
Length: 1 - 300
public void setDiskId(java.lang.String diskId)
Constraints:
Length: 1 - 300
diskId - The unique device ID or other distinguishing data that identify the
local disk.public Disk withDiskId(java.lang.String diskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 300
diskId - The unique device ID or other distinguishing data that identify the
local disk.public java.lang.String getDiskPath()
public void setDiskPath(java.lang.String diskPath)
diskPath - The path of the local disk in the gateway virtual machine (VM).public Disk withDiskPath(java.lang.String diskPath)
Returns a reference to this object so that method calls can be chained together.
diskPath - The path of the local disk in the gateway virtual machine (VM).public java.lang.String getDiskNode()
public void setDiskNode(java.lang.String diskNode)
diskNode - The device node of the local disk as assigned by the virtualization
environment.public Disk withDiskNode(java.lang.String diskNode)
Returns a reference to this object so that method calls can be chained together.
diskNode - The device node of the local disk as assigned by the virtualization
environment.public java.lang.Long getDiskSizeInBytes()
public void setDiskSizeInBytes(java.lang.Long diskSizeInBytes)
diskSizeInBytes - The local disk size in bytes.public Disk withDiskSizeInBytes(java.lang.Long diskSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
diskSizeInBytes - The local disk size in bytes.public java.lang.String getDiskAllocationType()
Constraints:
Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE
DiskAllocationTypepublic void setDiskAllocationType(java.lang.String diskAllocationType)
Constraints:
Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE
diskAllocationType - One of the DiskAllocationType enumeration values that
identifies how the local disk is used.DiskAllocationTypepublic Disk withDiskAllocationType(java.lang.String diskAllocationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE
diskAllocationType - One of the DiskAllocationType enumeration values that
identifies how the local disk is used.DiskAllocationTypepublic void setDiskAllocationType(DiskAllocationType diskAllocationType)
Constraints:
Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE
diskAllocationType - One of the DiskAllocationType enumeration values that
identifies how the local disk is used.DiskAllocationTypepublic Disk withDiskAllocationType(DiskAllocationType diskAllocationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AVAILABLE, CACHE STORAGE, STORED iSCSI VOLUME, UPLOAD BUFFER, WORKING STORAGE
diskAllocationType - One of the DiskAllocationType enumeration values that
identifies how the local disk is used.DiskAllocationTypepublic java.lang.String getDiskAllocationResource()
public void setDiskAllocationResource(java.lang.String diskAllocationResource)
diskAllocationResource - The iSCSI Qualified Name (IQN) that is defined for the 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(java.lang.String diskAllocationResource)
Returns a reference to this object so that method calls can be chained together.
diskAllocationResource - The iSCSI Qualified Name (IQN) that is defined for the 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object