Class ListTapesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.ListTapesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTapesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object that contains one or more of the following fields:
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTapesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTapesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()An optional number limit for the tapes in the list returned by this call.StringgetMarker()A string that indicates the position at which to begin the returned list of tapes.List<String>getTapeARNs()inthashCode()voidsetLimit(Integer limit)An optional number limit for the tapes in the list returned by this call.voidsetMarker(String marker)A string that indicates the position at which to begin the returned list of tapes.voidsetTapeARNs(Collection<String> tapeARNs)StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTapesRequestwithLimit(Integer limit)An optional number limit for the tapes in the list returned by this call.ListTapesRequestwithMarker(String marker)A string that indicates the position at which to begin the returned list of tapes.ListTapesRequestwithTapeARNs(String... tapeARNs)NOTE: This method appends the values to the existing list (if any).ListTapesRequestwithTapeARNs(Collection<String> tapeARNs)-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTapeARNs
public void setTapeARNs(Collection<String> tapeARNs)
- Parameters:
tapeARNs-
-
withTapeARNs
public ListTapesRequest withTapeARNs(String... tapeARNs)
NOTE: This method appends the values to the existing list (if any). Use
setTapeARNs(java.util.Collection)orwithTapeARNs(java.util.Collection)if you want to override the existing values.- Parameters:
tapeARNs-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTapeARNs
public ListTapesRequest withTapeARNs(Collection<String> tapeARNs)
- Parameters:
tapeARNs-- 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 the returned list of tapes.
- Parameters:
marker- A string that indicates the position at which to begin the returned list of tapes.
-
getMarker
public String getMarker()
A string that indicates the position at which to begin the returned list of tapes.
- Returns:
- A string that indicates the position at which to begin the returned list of tapes.
-
withMarker
public ListTapesRequest withMarker(String marker)
A string that indicates the position at which to begin the returned list of tapes.
- Parameters:
marker- A string that indicates the position at which to begin the returned list of tapes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
An optional number limit for the tapes in the list returned by this call.
- Parameters:
limit- An optional number limit for the tapes in the list returned by this call.
-
getLimit
public Integer getLimit()
An optional number limit for the tapes in the list returned by this call.
- Returns:
- An optional number limit for the tapes in the list returned by this call.
-
withLimit
public ListTapesRequest withLimit(Integer limit)
An optional number limit for the tapes in the list returned by this call.
- Parameters:
limit- An optional number limit for the tapes in the list returned by this call.- 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 ListTapesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-