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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTapesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTapesResultclone()booleanequals(Object obj)StringgetMarker()A string that indicates the position at which to begin returning the next list of tapes.List<TapeInfo>getTapeInfos()inthashCode()voidsetMarker(String marker)A string that indicates the position at which to begin returning the next list of tapes.voidsetTapeInfos(Collection<TapeInfo> tapeInfos)StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTapesResultwithMarker(String marker)A string that indicates the position at which to begin returning the next list of tapes.ListTapesResultwithTapeInfos(TapeInfo... tapeInfos)NOTE: This method appends the values to the existing list (if any).ListTapesResultwithTapeInfos(Collection<TapeInfo> tapeInfos)
-
-
-
Method Detail
-
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)orwithTapeInfos(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTapesResult clone()
-
-