Class ListVolumesRequest

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

public class ListVolumesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A JSON object that contains one or more of the following fields:

See Also:
  • Constructor Details

    • ListVolumesRequest

      public ListVolumesRequest()
  • Method Details

    • setGatewayARN

      public void setGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
    • getGatewayARN

      public String getGatewayARN()
      Returns:
    • withGatewayARN

      public ListVolumesRequest withGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMarker

      public void setMarker(String marker)

      A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

      Parameters:
      marker - A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.
    • getMarker

      public String getMarker()

      A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

      Returns:
      A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.
    • withMarker

      public ListVolumesRequest withMarker(String marker)

      A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

      Parameters:
      marker - A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLimit

      public void setLimit(Integer limit)

      Specifies that the list of volumes returned be limited to the specified number of items.

      Parameters:
      limit - Specifies that the list of volumes returned be limited to the specified number of items.
    • getLimit

      public Integer getLimit()

      Specifies that the list of volumes returned be limited to the specified number of items.

      Returns:
      Specifies that the list of volumes returned be limited to the specified number of items.
    • withLimit

      public ListVolumesRequest withLimit(Integer limit)

      Specifies that the list of volumes returned be limited to the specified number of items.

      Parameters:
      limit - Specifies that the list of volumes returned be limited to the specified number of items.
      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 ListVolumesRequest 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: