Class ListTapesRequest

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

public class ListTapesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

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

See Also:
  • Constructor Details

    • ListTapesRequest

      public ListTapesRequest()
  • Method Details

    • getTapeARNs

      public List<String> getTapeARNs()
      Returns:
    • setTapeARNs

      public void setTapeARNs(Collection<String> tapeARNs)
      Parameters:
      tapeARNs -
    • withTapeARNs

      public ListTapesRequest withTapeARNs(String... tapeARNs)

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

      Parameters:
      tapeARNs -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTapeARNs

      public ListTapesRequest withTapeARNs(Collection<String> tapeARNs)
      Parameters:
      tapeARNs -
      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 tapes.

      Parameters:
      marker - A string that indicates the position at which to begin the returned list of tapes.
    • getMarker

      public String getMarker()

      A string that indicates the position at which to begin the returned list of tapes.

      Returns:
      A string that indicates the position at which to begin the returned list of tapes.
    • withMarker

      public ListTapesRequest withMarker(String marker)

      A string that indicates the position at which to begin the returned list of tapes.

      Parameters:
      marker - A string that indicates the position at which to begin the returned list of tapes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLimit

      public void setLimit(Integer limit)

      An optional number limit for the tapes in the list returned by this call.

      Parameters:
      limit - An optional number limit for the tapes in the list returned by this call.
    • getLimit

      public Integer getLimit()

      An optional number limit for the tapes in the list returned by this call.

      Returns:
      An optional number limit for the tapes in the list returned by this call.
    • withLimit

      public ListTapesRequest withLimit(Integer limit)

      An optional number limit for the tapes in the list returned by this call.

      Parameters:
      limit - An optional number limit for the tapes in the list returned by this call.
      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 ListTapesRequest 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: