public class VolumeInfo extends Object implements Serializable
Describes a storage volume.
| Constructor and Description |
|---|
VolumeInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
String |
getVolumeType()
One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.
|
int |
hashCode() |
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
void |
setVolumeType(String volumeType)
One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.
|
void |
setVolumeType(VolumeType volumeType)
One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeInfo |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
VolumeInfo |
withVolumeType(String volumeType)
One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.
|
VolumeInfo |
withVolumeType(VolumeType volumeType)
One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.
|
public String getVolumeARN()
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 50 - 500
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setVolumeARN(String volumeARN)
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) for the storage volume. For example,
the following is a valid ARN:
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withVolumeARN(String volumeARN)
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) for the storage volume. For example,
the following is a valid ARN:
arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String getVolumeType()
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
VolumeTypepublic void setVolumeType(String volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.VolumeTypepublic VolumeInfo 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 values that indicates the configuration of the
storage volume, for example as a storage volume.VolumeTypepublic void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI
volumeType - One of the VolumeType values that indicates the configuration of the
storage volume, for example as a storage volume.VolumeTypepublic VolumeInfo 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 values that indicates the configuration of the
storage volume, for example as a storage volume.VolumeTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.