public class StorediSCSIVolume
extends java.lang.Object
implements java.io.Serializable
Describes an iSCSI stored volume.
| コンストラクタと説明 |
|---|
StorediSCSIVolume() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getPreservedExistingData()
Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved.
|
java.lang.String |
getSourceSnapshotId()
If the stored volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-78e22663.
|
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume.
|
java.lang.String |
getVolumeDiskId()
The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.
|
java.lang.String |
getVolumeId()
The unique identifier of the volume, e.g. vol-AE4B946D.
|
VolumeiSCSIAttributes |
getVolumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored volume.
|
java.lang.Double |
getVolumeProgress()
Represents 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.
|
java.lang.String |
getVolumeStatus()
One of the VolumeStatus values that indicates the state of the
storage volume.
|
java.lang.String |
getVolumeType()
One of the VolumeType enumeration values describing the type of
the volume.
|
int |
hashCode() |
java.lang.Boolean |
isPreservedExistingData()
Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved.
|
void |
setPreservedExistingData(java.lang.Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved.
|
void |
setSourceSnapshotId(java.lang.String sourceSnapshotId)
If the stored volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-78e22663.
|
void |
setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
void |
setVolumeDiskId(java.lang.String volumeDiskId)
The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.
|
void |
setVolumeId(java.lang.String volumeId)
The unique identifier of the volume, e.g. vol-AE4B946D.
|
void |
setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored volume.
|
void |
setVolumeProgress(java.lang.Double volumeProgress)
Represents 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.
|
void |
setVolumeStatus(java.lang.String volumeStatus)
One of the VolumeStatus values that indicates the state of the
storage volume.
|
void |
setVolumeStatus(VolumeStatus volumeStatus)
One of the VolumeStatus values that indicates the state of the
storage volume.
|
void |
setVolumeType(java.lang.String volumeType)
One of the VolumeType enumeration values describing the type of
the volume.
|
void |
setVolumeType(VolumeType volumeType)
One of the VolumeType enumeration values describing the type of
the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StorediSCSIVolume |
withPreservedExistingData(java.lang.Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved.
|
StorediSCSIVolume |
withSourceSnapshotId(java.lang.String sourceSnapshotId)
If the stored volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-78e22663.
|
StorediSCSIVolume |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
StorediSCSIVolume |
withVolumeDiskId(java.lang.String volumeDiskId)
The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.
|
StorediSCSIVolume |
withVolumeId(java.lang.String volumeId)
The unique identifier of the volume, e.g. vol-AE4B946D.
|
StorediSCSIVolume |
withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored volume.
|
StorediSCSIVolume |
withVolumeProgress(java.lang.Double volumeProgress)
Represents the percentage complete if the volume is restoring or
bootstrapping that represents the percent of data transferred.
|
StorediSCSIVolume |
withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size of the volume in bytes.
|
StorediSCSIVolume |
withVolumeStatus(java.lang.String volumeStatus)
One of the VolumeStatus values that indicates the state of the
storage volume.
|
StorediSCSIVolume |
withVolumeStatus(VolumeStatus volumeStatus)
One of the VolumeStatus values that indicates the state of the
storage volume.
|
StorediSCSIVolume |
withVolumeType(java.lang.String volumeType)
One of the VolumeType enumeration values describing the type of
the volume.
|
StorediSCSIVolume |
withVolumeType(VolumeType volumeType)
One of the VolumeType enumeration values describing the type of
the 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 StorediSCSIVolume 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 volume, e.g. vol-AE4B946D.public StorediSCSIVolume 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 volume, e.g. vol-AE4B946D.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 - One of the VolumeType enumeration values describing the type of
the volume.VolumeTypepublic StorediSCSIVolume 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 - One of the VolumeType enumeration values describing the type of
the volume.VolumeTypepublic void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - One of the VolumeType enumeration values describing the type of
the volume.VolumeTypepublic StorediSCSIVolume 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 - One of the VolumeType enumeration values describing the type of
the 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 - One of the VolumeStatus values that indicates the state of the
storage volume.VolumeStatuspublic StorediSCSIVolume 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 - One of the VolumeStatus values that indicates the state of the
storage 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 - One of the VolumeStatus values that indicates the state of the
storage volume.VolumeStatuspublic StorediSCSIVolume 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 - One of the VolumeStatus values that indicates the state of the
storage volume.VolumeStatuspublic java.lang.Long getVolumeSizeInBytes()
public void setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
volumeSizeInBytes - The size of the volume in bytes.public StorediSCSIVolume 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.public java.lang.Double getVolumeProgress()
public void setVolumeProgress(java.lang.Double volumeProgress)
volumeProgress - Represents 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 StorediSCSIVolume withVolumeProgress(java.lang.Double volumeProgress)
Returns a reference to this object so that method calls can be chained together.
volumeProgress - Represents 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 getVolumeDiskId()
Constraints:
Length: 1 - 300
public void setVolumeDiskId(java.lang.String volumeDiskId)
Constraints:
Length: 1 - 300
volumeDiskId - The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.public StorediSCSIVolume withVolumeDiskId(java.lang.String volumeDiskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 300
volumeDiskId - The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.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 stored volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not
included.public StorediSCSIVolume 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 stored volume was created from a snapshot, this field contains
the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not
included.public java.lang.Boolean isPreservedExistingData()
Valid Values: true, false
Valid Values: true, false
public void setPreservedExistingData(java.lang.Boolean preservedExistingData)
Valid Values: true, false
preservedExistingData - Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved. Valid Values: true, false
public StorediSCSIVolume withPreservedExistingData(java.lang.Boolean preservedExistingData)
Valid Values: true, false
Returns a reference to this object so that method calls can be chained together.
preservedExistingData - Indicates if when the stored volume was created, existing data on the
underlying local disk was preserved. Valid Values: true, false
public java.lang.Boolean getPreservedExistingData()
Valid Values: true, false
Valid Values: true, false
public VolumeiSCSIAttributes getVolumeiSCSIAttributes()
public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
volumeiSCSIAttributes - An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored volume.public StorediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Returns a reference to this object so that method calls can be chained together.
volumeiSCSIAttributes - An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored 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