public class DescribeTapesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
DescribeTapesOutput
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An opaque string which can be used as part of a subsequent DescribeTapes
call to retrieve the next page of results.
|
private SdkInternalList<Tape> |
tapes
An array of virtual tape descriptions.
|
Constructor and Description |
---|
DescribeTapesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTapesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An opaque string which can be used as part of a subsequent DescribeTapes
call to retrieve the next page of results.
|
java.util.List<Tape> |
getTapes()
An array of virtual tape descriptions.
|
int |
hashCode() |
void |
setMarker(java.lang.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(java.util.Collection<Tape> tapes)
An array of virtual tape descriptions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTapesResult |
withMarker(java.lang.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(java.util.Collection<Tape> tapes)
An array of virtual tape descriptions.
|
DescribeTapesResult |
withTapes(Tape... tapes)
An array of virtual tape descriptions.
|
private SdkInternalList<Tape> tapes
An array of virtual tape descriptions.
private java.lang.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.
public java.util.List<Tape> getTapes()
An array of virtual tape descriptions.
public void setTapes(java.util.Collection<Tape> tapes)
An array of virtual tape descriptions.
tapes
- An array of virtual tape descriptions.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.
tapes
- An array of virtual tape descriptions.public DescribeTapesResult withTapes(java.util.Collection<Tape> tapes)
An array of virtual tape descriptions.
tapes
- An array of virtual tape descriptions.public void setMarker(java.lang.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.
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.
public java.lang.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.
If a response does not contain a marker, then there are no more results to be retrieved.
public DescribeTapesResult withMarker(java.lang.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.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTapesResult clone()
clone
in class java.lang.Object