Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class CachediSCSIVolume

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.CachediSCSIVolume
All Implemented Interfaces:
Serializable

public class CachediSCSIVolume
extends Object
implements Serializable

Describes a cached storage volume.

See Also:
Serialized Form

Constructor Summary
CachediSCSIVolume()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSourceSnapshotId()
          If the cached 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 getVolumeId()
          The unique identifier of the storage volume, e.g.
 VolumeiSCSIAttributes getVolumeiSCSIAttributes()
          Lists iSCSI information about a volume.
 Double getVolumeProgress()
          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 that was specified in the API_CreateCachediSCSIVolume operation.
 String getVolumeStatus()
          A value that indicates the state of the volume.
 String getVolumeType()
          A value describing the type of volume.
 int hashCode()
           
 void setSourceSnapshotId(String sourceSnapshotId)
          If the cached 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 setVolumeId(String volumeId)
          The unique identifier of the storage volume, e.g.
 void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
          Lists iSCSI information about a volume.
 void setVolumeProgress(Double volumeProgress)
          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 that was specified in the API_CreateCachediSCSIVolume operation.
 void setVolumeStatus(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(String volumeType)
          A value describing the type of volume.
 void setVolumeType(VolumeType volumeType)
          A value describing the type of volume.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CachediSCSIVolume withSourceSnapshotId(String sourceSnapshotId)
          If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
 CachediSCSIVolume withVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) of the storage volume.
 CachediSCSIVolume withVolumeId(String volumeId)
          The unique identifier of the storage volume, e.g.
 CachediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
          Lists iSCSI information about a volume.
 CachediSCSIVolume withVolumeProgress(Double volumeProgress)
          The percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred.
 CachediSCSIVolume withVolumeSizeInBytes(Long volumeSizeInBytes)
          The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
 CachediSCSIVolume withVolumeStatus(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(String volumeType)
          A value describing the type of volume.
 CachediSCSIVolume withVolumeType(VolumeType volumeType)
          A value describing the type of volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachediSCSIVolume

public CachediSCSIVolume()
Method Detail

getVolumeARN

public String getVolumeARN()
The Amazon Resource Name (ARN) of the storage volume.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the storage volume.

setVolumeARN

public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the storage volume.

withVolumeARN

public CachediSCSIVolume withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) of the storage volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeId

public String getVolumeId()
The unique identifier of the storage volume, e.g. vol-1122AABB.

Constraints:
Length: 12 - 30

Returns:
The unique identifier of the storage volume, e.g. vol-1122AABB.

setVolumeId

public void setVolumeId(String volumeId)
The unique identifier of the storage volume, e.g. vol-1122AABB.

Constraints:
Length: 12 - 30

Parameters:
volumeId - The unique identifier of the storage volume, e.g. vol-1122AABB.

withVolumeId

public CachediSCSIVolume withVolumeId(String volumeId)
The unique identifier of the storage volume, e.g. vol-1122AABB.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 12 - 30

Parameters:
volumeId - The unique identifier of the storage volume, e.g. vol-1122AABB.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeType

public String getVolumeType()
A value describing the type of volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Returns:
A value describing the type of volume.
See Also:
VolumeType

setVolumeType

public void setVolumeType(String volumeType)
A value describing the type of volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - A value describing the type of volume.
See Also:
VolumeType

withVolumeType

public CachediSCSIVolume withVolumeType(String volumeType)
A value describing the type of volume.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - A value describing the type of volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeType

setVolumeType

public void setVolumeType(VolumeType volumeType)
A value describing the type of volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - A value describing the type of volume.
See Also:
VolumeType

withVolumeType

public CachediSCSIVolume withVolumeType(VolumeType volumeType)
A value describing the type of volume.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - A value describing the type of volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeType

getVolumeStatus

public String getVolumeStatus()
A value that indicates the state of the volume.

Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

Returns:
A value that indicates the state of the volume.
See Also:
VolumeStatus

setVolumeStatus

public void setVolumeStatus(String volumeStatus)
A value that indicates the state of the volume.

Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

Parameters:
volumeStatus - A value that indicates the state of the volume.
See Also:
VolumeStatus

withVolumeStatus

public CachediSCSIVolume withVolumeStatus(String volumeStatus)
A value that indicates the state of the volume.

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

Parameters:
volumeStatus - A value that indicates the state of the volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeStatus

setVolumeStatus

public void setVolumeStatus(VolumeStatus volumeStatus)
A value that indicates the state of the volume.

Constraints:
Allowed Values: CREATING, AVAILABLE, RESTORING, BOOTSTRAPPING, IRRECOVERABLE, PASS THROUGH, RESTORE AND PASS THROUGH, DELETED, WORKING STORAGE NOT CONFIGURED, UPLOAD BUFFER NOT CONFIGURED

Parameters:
volumeStatus - A value that indicates the state of the volume.
See Also:
VolumeStatus

withVolumeStatus

public CachediSCSIVolume withVolumeStatus(VolumeStatus volumeStatus)
A value that indicates the state of the volume.

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

Parameters:
volumeStatus - A value that indicates the state of the volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeStatus

getVolumeSizeInBytes

public Long getVolumeSizeInBytes()
The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

Returns:
The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

setVolumeSizeInBytes

public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

Parameters:
volumeSizeInBytes - The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

withVolumeSizeInBytes

public CachediSCSIVolume withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeSizeInBytes - The size of the volume in bytes that was specified in the API_CreateCachediSCSIVolume operation.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeProgress

public Double getVolumeProgress()
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.

Returns:
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.

setVolumeProgress

public void setVolumeProgress(Double 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.

Parameters:
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.

withVolumeProgress

public CachediSCSIVolume withVolumeProgress(Double 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceSnapshotId

public String getSourceSnapshotId()
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.

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Returns:
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.

setSourceSnapshotId

public void setSourceSnapshotId(String 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.

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Parameters:
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.

withSourceSnapshotId

public CachediSCSIVolume withSourceSnapshotId(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeiSCSIAttributes

public VolumeiSCSIAttributes getVolumeiSCSIAttributes()
Lists iSCSI information about a volume.

Returns:
Lists iSCSI information about a volume.

setVolumeiSCSIAttributes

public void setVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Lists iSCSI information about a volume.

Parameters:
volumeiSCSIAttributes - Lists iSCSI information about a volume.

withVolumeiSCSIAttributes

public CachediSCSIVolume withVolumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
Lists iSCSI information about a volume.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeiSCSIAttributes - Lists iSCSI information about a volume.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.