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:
  • Constructor Details

    • VolumeInfo

      public VolumeInfo()
  • Method Details

    • 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-1122AABB

      Valid 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-1122AABB

      Valid 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-1122AABB

      Valid 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-1122AABB

      Valid 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-1122AABB

      Valid 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-1122AABB

      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.
    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VolumeInfo clone()
      Overrides:
      clone in class Object