Class DescribeStorediSCSIVolumesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.DescribeStorediSCSIVolumesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeStorediSCSIVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.

See Also:
  • Constructor Details

    • DescribeStorediSCSIVolumesRequest

      public DescribeStorediSCSIVolumesRequest()
  • Method Details

    • getVolumeARNs

      public List<String> getVolumeARNs()

      An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

      Returns:
      An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
    • setVolumeARNs

      public void setVolumeARNs(Collection<String> volumeARNs)

      An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

      Parameters:
      volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
    • withVolumeARNs

      public DescribeStorediSCSIVolumesRequest withVolumeARNs(String... volumeARNs)

      An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

      NOTE: This method appends the values to the existing list (if any). Use setVolumeARNs(java.util.Collection) or withVolumeARNs(java.util.Collection) if you want to override the existing values.

      Parameters:
      volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withVolumeARNs

      public DescribeStorediSCSIVolumesRequest withVolumeARNs(Collection<String> volumeARNs)

      An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

      Parameters:
      volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
      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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: