public class VolumeInfo
extends java.lang.Object
implements java.io.Serializable
Describes a storage volume.
| コンストラクタと説明 |
|---|
VolumeInfo() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
java.lang.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(java.lang.String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
void |
setVolumeType(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeInfo |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
VolumeInfo |
withVolumeType(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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 values that indicates the configuration of the
storage volume, for example as a storage volume.VolumeTypepublic VolumeInfo 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 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 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