public class CachediSCSIVolume
extends java.lang.Object
implements java.io.Serializable
Describes a cached storage volume.
| コンストラクタと説明 |
|---|
CachediSCSIVolume() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSourceSnapshotId()
If the cached volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-1122aabb.
|
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume.
|
java.lang.String |
getVolumeId()
The unique identifier of the storage volume, e.g. vol-1122AABB.
|
VolumeiSCSIAttributes |
getVolumeiSCSIAttributes()
Lists iSCSI information about a volume.
|
java.lang.Double |
getVolumeProgress()
The percentage complete if the volume is restoring or bootstrapping
that represents the percent of data transferred.
|
java.lang.Long |
getVolumeSizeInBytes()
The size of the volume in bytes that was specified in the
API_CreateCachediSCSIVolume operation.
|
java.lang.String |
getVolumeStatus()
A value that indicates the state of the volume.
|
java.lang.String |
getVolumeType()
A value describing the type of volume.
|
int |
hashCode() |
void |
setSourceSnapshotId(java.lang.String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-1122aabb.
|
void |
setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
void |
setVolumeId(java.lang.String volumeId)
The unique identifier of the storage volume, e.g. vol-1122AABB.
|
void |
setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Lists iSCSI information about a volume.
|
void |
setVolumeProgress(java.lang.Double volumeProgress)
The percentage complete if the volume is restoring or bootstrapping
that represents the percent of data transferred.
|
void |
setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size of the volume in bytes that was specified in the
API_CreateCachediSCSIVolume operation.
|
void |
setVolumeStatus(java.lang.String volumeStatus)
A value that indicates the state of the volume.
|
void |
setVolumeStatus(VolumeStatus volumeStatus)
A value that indicates the state of the volume.
|
void |
setVolumeType(java.lang.String volumeType)
A value describing the type of volume.
|
void |
setVolumeType(VolumeType volumeType)
A value describing the type of volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CachediSCSIVolume |
withSourceSnapshotId(java.lang.String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-1122aabb.
|
CachediSCSIVolume |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
CachediSCSIVolume |
withVolumeId(java.lang.String volumeId)
The unique identifier of the storage volume, e.g. vol-1122AABB.
|
CachediSCSIVolume |
withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Lists iSCSI information about a volume.
|
CachediSCSIVolume |
withVolumeProgress(java.lang.Double volumeProgress)
The percentage complete if the volume is restoring or bootstrapping
that represents the percent of data transferred.
|
CachediSCSIVolume |
withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size of the volume in bytes that was specified in the
API_CreateCachediSCSIVolume operation.
|
CachediSCSIVolume |
withVolumeStatus(java.lang.String volumeStatus)
A value that indicates the state of the volume.
|
CachediSCSIVolume |
withVolumeStatus(VolumeStatus volumeStatus)
A value that indicates the state of the volume.
|
CachediSCSIVolume |
withVolumeType(java.lang.String volumeType)
A value describing the type of volume.
|
CachediSCSIVolume |
withVolumeType(VolumeType volumeType)
A value describing the type of volume.
|
public java.lang.String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(java.lang.String volumeARN)
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) of the storage volume.public CachediSCSIVolume withVolumeARN(java.lang.String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) of the storage volume.public java.lang.String getVolumeId()
Constraints:
Length: 12 - 30
public void setVolumeId(java.lang.String volumeId)
Constraints:
Length: 12 - 30
volumeId - The unique identifier of the storage volume, e.g. vol-1122AABB.public CachediSCSIVolume withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 30
volumeId - The unique identifier of the storage volume, e.g. vol-1122AABB.public java.lang.String getVolumeType()
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
VolumeTypepublic void setVolumeType(java.lang.String volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - A value describing the type of volume.VolumeTypepublic CachediSCSIVolume withVolumeType(java.lang.String volumeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - A value describing the type of volume.VolumeTypepublic void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - A value describing the type of volume.VolumeTypepublic CachediSCSIVolume withVolumeType(VolumeType volumeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - A value describing the type of volume.VolumeTypepublic java.lang.String getVolumeStatus()
Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED
VolumeStatuspublic void setVolumeStatus(java.lang.String volumeStatus)
Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED
volumeStatus - A value that indicates the state of the volume.VolumeStatuspublic CachediSCSIVolume withVolumeStatus(java.lang.String volumeStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED
volumeStatus - A value that indicates the state of the volume.VolumeStatuspublic void setVolumeStatus(VolumeStatus volumeStatus)
Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED
volumeStatus - A value that indicates the state of the volume.VolumeStatuspublic CachediSCSIVolume withVolumeStatus(VolumeStatus volumeStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED
volumeStatus - A value that indicates the state of the volume.VolumeStatuspublic java.lang.Long getVolumeSizeInBytes()
public void setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
volumeSizeInBytes - The size of the volume in bytes that was specified in the
API_CreateCachediSCSIVolume operation.public CachediSCSIVolume withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
volumeSizeInBytes - The size of the volume in bytes that was specified in the
API_CreateCachediSCSIVolume operation.public java.lang.Double getVolumeProgress()
public void setVolumeProgress(java.lang.Double volumeProgress)
volumeProgress - The percentage complete if the volume is restoring or bootstrapping
that represents the percent of data transferred. This field does not
appear in the response if the stored volume is not restoring or
bootstrapping.public CachediSCSIVolume withVolumeProgress(java.lang.Double volumeProgress)
Returns a reference to this object so that method calls can be chained together.
volumeProgress - The percentage complete if the volume is restoring or bootstrapping
that represents the percent of data transferred. This field does not
appear in the response if the stored volume is not restoring or
bootstrapping.public java.lang.String getSourceSnapshotId()
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
public void setSourceSnapshotId(java.lang.String sourceSnapshotId)
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
sourceSnapshotId - If the cached volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not
included.public CachediSCSIVolume withSourceSnapshotId(java.lang.String sourceSnapshotId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
sourceSnapshotId - If the cached volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-1122aabb. Otherwise, this field is not
included.public VolumeiSCSIAttributes getVolumeiSCSIAttributes()
public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
volumeiSCSIAttributes - Lists iSCSI information about a volume.public CachediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Returns a reference to this object so that method calls can be chained together.
volumeiSCSIAttributes - Lists iSCSI information about a volume.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