@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes a storage volume object.
Constructor and Description |
---|
VolumeInfo() |
Modifier and Type | Method and Description |
---|---|
VolumeInfo |
clone() |
boolean |
equals(Object obj) |
String |
getGatewayARN() |
String |
getGatewayId()
The unique identifier assigned to your gateway during activation.
|
String |
getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
String |
getVolumeId()
The unique identifier assigned to the volume.
|
Long |
getVolumeSizeInBytes()
The size of the volume in bytes.
|
String |
getVolumeType() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGatewayARN(String gatewayARN) |
void |
setGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.
|
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
void |
setVolumeId(String volumeId)
The unique identifier assigned to the volume.
|
void |
setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
void |
setVolumeType(String volumeType) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VolumeInfo |
withGatewayARN(String gatewayARN) |
VolumeInfo |
withGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.
|
VolumeInfo |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume.
|
VolumeInfo |
withVolumeId(String volumeId)
The unique identifier assigned to the volume.
|
VolumeInfo |
withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
VolumeInfo |
withVolumeType(String volumeType) |
public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:
arn:aws:storagegateway:us-east-2: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-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public VolumeInfo withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:
arn:aws:storagegateway:us-east-2: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-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setVolumeId(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 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(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(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public VolumeInfo withGatewayARN(String gatewayARN)
gatewayARN
- public void setGatewayId(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 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(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(String volumeType)
volumeType
- public String getVolumeType()
public VolumeInfo withVolumeType(String volumeType)
volumeType
- public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeSizeInBytes
- The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public Long getVolumeSizeInBytes()
The size of the volume in bytes.
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(Long volumeSizeInBytes)
The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
volumeSizeInBytes
- The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String toString()
toString
in class Object
Object.toString()
public VolumeInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.