Class VolumeInfo
- All Implemented Interfaces:
Serializable, Cloneable
Describes a storage volume object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe unique identifier assigned to your gateway during activation.The Amazon Resource Name (ARN) for the storage volume.The unique identifier assigned to the volume.The size, in bytes, of the volume.inthashCode()voidsetGatewayARN(String gatewayARN) voidsetGatewayId(String gatewayId) The unique identifier assigned to your gateway during activation.voidsetVolumeARN(String volumeARN) The Amazon Resource Name (ARN) for the storage volume.voidsetVolumeId(String volumeId) The unique identifier assigned to the volume.voidsetVolumeSizeInBytes(Long volumeSizeInBytes) The size, in bytes, of the volume.voidsetVolumeType(String volumeType) toString()Returns a string representation of this object; useful for testing and debugging.withGatewayARN(String gatewayARN) withGatewayId(String gatewayId) The unique identifier assigned to your gateway during activation.withVolumeARN(String volumeARN) The Amazon Resource Name (ARN) for the storage volume.withVolumeId(String volumeId) The unique identifier assigned to the volume.withVolumeSizeInBytes(Long volumeSizeInBytes) The size, in bytes, of the volume.withVolumeType(String volumeType)
-
Constructor Details
-
VolumeInfo
public VolumeInfo()
-
-
Method Details
-
setVolumeARN
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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- 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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
withVolumeARN
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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
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-1122AABBValid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeId
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 (-).
- Parameters:
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 (-).
-
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 (-).
- Returns:
- 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 (-).
-
withVolumeId
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 (-).
- Parameters:
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 (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayARN
- Parameters:
gatewayARN-
-
getGatewayARN
- Returns:
-
withGatewayARN
- Parameters:
gatewayARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayId
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 (-).
- Parameters:
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 (-).
-
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 (-).
- Returns:
- 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 (-).
-
withGatewayId
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 (-).
- Parameters:
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 (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeType
- Parameters:
volumeType-
-
getVolumeType
- Returns:
-
withVolumeType
- Parameters:
volumeType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeSizeInBytes
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
volumeSizeInBytes- The size, in bytes, of the volume.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
getVolumeSizeInBytes
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
withVolumeSizeInBytes
The size, in bytes, of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
volumeSizeInBytes- The size, in bytes, of the volume.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-