public class VolumeInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a storage volume object.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN |
private java.lang.String |
gatewayId
The unique identifier assigned to your gateway during activation.
|
private java.lang.String |
volumeARN
The Amazon Resource Name (ARN) for the storage volume.
|
private java.lang.String |
volumeId
The unique identifier assigned to the volume.
|
private java.lang.Long |
volumeSizeInBytes
The size, in bytes, of the volume.
|
private java.lang.String |
volumeType |
Constructor and Description |
---|
VolumeInfo() |
Modifier and Type | Method and Description |
---|---|
VolumeInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN() |
java.lang.String |
getGatewayId()
The unique identifier assigned to your gateway during activation.
|
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
java.lang.String |
getVolumeId()
The unique identifier assigned to the volume.
|
java.lang.Long |
getVolumeSizeInBytes()
The size, in bytes, of the volume.
|
java.lang.String |
getVolumeType() |
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN) |
void |
setGatewayId(java.lang.String gatewayId)
The unique identifier assigned to your gateway during activation.
|
void |
setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
void |
setVolumeId(java.lang.String volumeId)
The unique identifier assigned to the volume.
|
void |
setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size, in bytes, of the volume.
|
void |
setVolumeType(java.lang.String volumeType) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeInfo |
withGatewayARN(java.lang.String gatewayARN) |
VolumeInfo |
withGatewayId(java.lang.String gatewayId)
The unique identifier assigned to your gateway during activation.
|
VolumeInfo |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
VolumeInfo |
withVolumeId(java.lang.String volumeId)
The unique identifier assigned to the volume.
|
VolumeInfo |
withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size, in bytes, of the volume.
|
VolumeInfo |
withVolumeType(java.lang.String volumeType) |
private java.lang.String 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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
private java.lang.String volumeId
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
private java.lang.String gatewayARN
private java.lang.String gatewayId
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
private java.lang.String volumeType
private java.lang.Long volumeSizeInBytes
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setVolumeARN(java.lang.String 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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String getVolumeARN()
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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withVolumeARN(java.lang.String 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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
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/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setVolumeId(java.lang.String volumeId)
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeId
- The unique identifier assigned to the volume. This ID becomes part
of the volume Amazon Resource Name (ARN), which you use as input
for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String getVolumeId()
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withVolumeId(java.lang.String volumeId)
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeId
- The unique identifier assigned to the volume. This ID becomes part
of the volume Amazon Resource Name (ARN), which you use as input
for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public VolumeInfo withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public void setGatewayId(java.lang.String gatewayId)
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
gatewayId
- The unique identifier assigned to your gateway during activation.
This ID becomes part of the gateway Amazon Resource Name (ARN),
which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String getGatewayId()
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withGatewayId(java.lang.String gatewayId)
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
gatewayId
- The unique identifier assigned to your gateway during activation.
This ID becomes part of the gateway Amazon Resource Name (ARN),
which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setVolumeType(java.lang.String volumeType)
volumeType
- public java.lang.String getVolumeType()
public VolumeInfo withVolumeType(java.lang.String volumeType)
volumeType
- public void setVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeSizeInBytes
- The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.Long getVolumeSizeInBytes()
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withVolumeSizeInBytes(java.lang.Long volumeSizeInBytes)
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeSizeInBytes
- The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VolumeInfo clone()
clone
in class java.lang.Object