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 ListTapesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
An optional number limit for the tapes in the list returned by this call.String
getMarker()
A string that indicates the position at which to begin the returned list of tapes.List<String>
getTapeARNs()
int
hashCode()
void
setLimit(Integer limit)
An optional number limit for the tapes in the list returned by this call.void
setMarker(String marker)
A string that indicates the position at which to begin the returned list of tapes.void
setTapeARNs(Collection<String> tapeARNs)
String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTapesRequest
withLimit(Integer limit)
An optional number limit for the tapes in the list returned by this call.ListTapesRequest
withMarker(String marker)
A string that indicates the position at which to begin the returned list of tapes.ListTapesRequest
withTapeARNs(String... tapeARNs)
NOTE: This method appends the values to the existing list (if any).ListTapesRequest
withTapeARNs(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTapesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-