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 ListTapesResult
clone()
boolean
equals(Object obj)
String
getMarker()
A string that indicates the position at which to begin returning the next list of tapes.List<TapeInfo>
getTapeInfos()
int
hashCode()
void
setMarker(String marker)
A string that indicates the position at which to begin returning the next list of tapes.void
setTapeInfos(Collection<TapeInfo> tapeInfos)
String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTapesResult
withMarker(String marker)
A string that indicates the position at which to begin returning the next list of tapes.ListTapesResult
withTapeInfos(TapeInfo... tapeInfos)
NOTE: This method appends the values to the existing list (if any).ListTapesResult
withTapeInfos(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTapesResult clone()
-
-