Class ListTapesResult

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

public class ListTapesResult extends Object implements Serializable, Cloneable

A JSON object containing the following fields:

See Also:
  • Constructor Details

    • ListTapesResult

      public ListTapesResult()
  • Method Details

    • getTapeInfos

      public List<TapeInfo> getTapeInfos()
      Returns:
    • setTapeInfos

      public void setTapeInfos(Collection<TapeInfo> tapeInfos)
      Parameters:
      tapeInfos -
    • withTapeInfos

      public ListTapesResult withTapeInfos(TapeInfo... tapeInfos)

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

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

      public ListTapesResult withTapeInfos(Collection<TapeInfo> tapeInfos)
      Parameters:
      tapeInfos -
      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 returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.

      Parameters:
      marker - A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.
    • getMarker

      public String getMarker()

      A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.

      Returns:
      A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.
    • withMarker

      public ListTapesResult withMarker(String marker)

      A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.

      Parameters:
      marker - A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.
      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 ListTapesResult clone()
      Overrides:
      clone in class Object