Class DescribeTapesResult

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

public class DescribeTapesResult extends Object implements Serializable, Cloneable

DescribeTapesOutput

See Also:
  • Constructor Details

    • DescribeTapesResult

      public DescribeTapesResult()
  • Method Details

    • getTapes

      public List<Tape> getTapes()

      An array of virtual tape descriptions.

      Returns:
      An array of virtual tape descriptions.
    • setTapes

      public void setTapes(Collection<Tape> tapes)

      An array of virtual tape descriptions.

      Parameters:
      tapes - An array of virtual tape descriptions.
    • withTapes

      public DescribeTapesResult withTapes(Tape... tapes)

      An array of virtual tape descriptions.

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

      Parameters:
      tapes - An array of virtual tape descriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTapes

      public DescribeTapesResult withTapes(Collection<Tape> tapes)

      An array of virtual tape descriptions.

      Parameters:
      tapes - An array of virtual tape descriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMarker

      public void setMarker(String marker)

      An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

      Parameters:
      marker - An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

    • getMarker

      public String getMarker()

      An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

      Returns:
      An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

    • withMarker

      public DescribeTapesResult withMarker(String marker)

      An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

      Parameters:
      marker - An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

      If a response does not contain a marker, then there are no more results to be retrieved.

      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 DescribeTapesResult clone()
      Overrides:
      clone in class Object