Class VolumeInfo
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.VolumeInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class VolumeInfo extends Object implements Serializable, Cloneable
Describes a storage volume object.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeInfoclone()booleanequals(Object obj)StringgetGatewayARN()StringgetGatewayId()The unique identifier assigned to your gateway during activation.StringgetVolumeARN()The Amazon Resource Name (ARN) for the storage volume.StringgetVolumeId()The unique identifier assigned to the volume.LonggetVolumeSizeInBytes()The size, in bytes, of the volume.StringgetVolumeType()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)StringtoString()Returns a string representation of this object; useful for testing and debugging.VolumeInfowithGatewayARN(String gatewayARN)VolumeInfowithGatewayId(String gatewayId)The unique identifier assigned to your gateway during activation.VolumeInfowithVolumeARN(String volumeARN)The Amazon Resource Name (ARN) for the storage volume.VolumeInfowithVolumeId(String volumeId)The unique identifier assigned to the volume.VolumeInfowithVolumeSizeInBytes(Long volumeSizeInBytes)The size, in bytes, of the volume.VolumeInfowithVolumeType(String volumeType)
-
-
-
Method Detail
-
setVolumeARN
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-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
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-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
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-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
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 (-).
- 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
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 (-).
- 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
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 (-).
- 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
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public VolumeInfo withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayId
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 (-).
- 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
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 (-).
- 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
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 (-).
- 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
public void setVolumeType(String volumeType)
- Parameters:
volumeType-
-
getVolumeType
public String getVolumeType()
- Returns:
-
withVolumeType
public VolumeInfo withVolumeType(String volumeType)
- Parameters:
volumeType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeSizeInBytes
public void setVolumeSizeInBytes(Long volumeSizeInBytes)
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
public Long 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
public VolumeInfo withVolumeSizeInBytes(Long volumeSizeInBytes)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VolumeInfo clone()
-
-