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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeTapesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeTapesResult
clone()
boolean
equals(Object obj)
String
getMarker()
An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.List<Tape>
getTapes()
An array of virtual tape descriptions.int
hashCode()
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.void
setTapes(Collection<Tape> tapes)
An array of virtual tape descriptions.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.DescribeTapesResult
withTapes(Tape... tapes)
An array of virtual tape descriptions.DescribeTapesResult
withTapes(Collection<Tape> tapes)
An array of virtual tape descriptions.
-
-
-
Method Detail
-
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)
orwithTapes(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeTapesResult clone()
-
-