|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.storagegateway.model.StorediSCSIVolume
public class StorediSCSIVolume
Describes an iSCSI stored volume.
Constructor Summary | |
---|---|
StorediSCSIVolume()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getPreservedExistingData()
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved. |
String |
getSourceSnapshotId()
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. |
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume. |
String |
getVolumeDiskId()
The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation. |
String |
getVolumeId()
The unique identifier of the volume, e.g. |
VolumeiSCSIAttributes |
getVolumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume. |
Double |
getVolumeProgress()
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. |
Long |
getVolumeSizeInBytes()
The size of the volume in bytes. |
String |
getVolumeStatus()
One of the VolumeStatus values that indicates the state of the storage volume. |
String |
getVolumeType()
One of the VolumeType enumeration values describing the type of the volume. |
int |
hashCode()
|
Boolean |
isPreservedExistingData()
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved. |
void |
setPreservedExistingData(Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved. |
void |
setSourceSnapshotId(String sourceSnapshotId)
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. |
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume. |
void |
setVolumeDiskId(String volumeDiskId)
The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation. |
void |
setVolumeId(String volumeId)
The unique identifier of the volume, e.g. |
void |
setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume. |
void |
setVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. |
void |
setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes. |
void |
setVolumeStatus(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(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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
StorediSCSIVolume |
withPreservedExistingData(Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved. |
StorediSCSIVolume |
withSourceSnapshotId(String sourceSnapshotId)
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. |
StorediSCSIVolume |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume. |
StorediSCSIVolume |
withVolumeDiskId(String volumeDiskId)
The disk ID of the local disk that was specified in the CreateStorediSCSIVolume operation. |
StorediSCSIVolume |
withVolumeId(String volumeId)
The unique identifier of the volume, e.g. |
StorediSCSIVolume |
withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume. |
StorediSCSIVolume |
withVolumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. |
StorediSCSIVolume |
withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes. |
StorediSCSIVolume |
withVolumeStatus(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(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StorediSCSIVolume()
Method Detail |
---|
public String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(String volumeARN)
Constraints:
Length: 50 - 500
volumeARN
- The Amazon Resource Name (ARN) of the storage volume.public StorediSCSIVolume withVolumeARN(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 String getVolumeId()
Constraints:
Length: 12 - 30
public void setVolumeId(String volumeId)
Constraints:
Length: 12 - 30
volumeId
- The unique identifier of the volume, e.g. vol-AE4B946D.public StorediSCSIVolume withVolumeId(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 String getVolumeType()
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
VolumeType
public void setVolumeType(String volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType
- One of the VolumeType enumeration values describing the type of
the volume.VolumeType
public StorediSCSIVolume withVolumeType(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.
VolumeType
public void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType
- One of the VolumeType enumeration values describing the type of
the volume.VolumeType
public 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.
VolumeType
public 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
VolumeStatus
public void setVolumeStatus(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.VolumeStatus
public StorediSCSIVolume withVolumeStatus(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.
VolumeStatus
public 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.VolumeStatus
public 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.
VolumeStatus
public Long getVolumeSizeInBytes()
public void setVolumeSizeInBytes(Long volumeSizeInBytes)
volumeSizeInBytes
- The size of the volume in bytes.public StorediSCSIVolume withVolumeSizeInBytes(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 Double getVolumeProgress()
public void setVolumeProgress(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(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 String getVolumeDiskId()
Constraints:
Length: 1 - 300
public void setVolumeDiskId(String volumeDiskId)
Constraints:
Length: 1 - 300
volumeDiskId
- The disk ID of the local disk that was specified in the
CreateStorediSCSIVolume operation.public StorediSCSIVolume withVolumeDiskId(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 String getSourceSnapshotId()
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
public void setSourceSnapshotId(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(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 Boolean isPreservedExistingData()
Valid Values: true, false
Valid Values: true, false
public void setPreservedExistingData(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(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 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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |