Class DescribeTapeArchivesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.DescribeTapeArchivesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeTapeArchivesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTapeArchivesInput
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeTapeArchivesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeTapeArchivesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
Specifies that the number of virtual tapes descried be limited to the specified number.String
getMarker()
An opaque string that indicates the position at which to begin describing virtual tapes.List<String>
getTapeARNs()
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.int
hashCode()
void
setLimit(Integer limit)
Specifies that the number of virtual tapes descried be limited to the specified number.void
setMarker(String marker)
An opaque string that indicates the position at which to begin describing virtual tapes.void
setTapeARNs(Collection<String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeTapeArchivesRequest
withLimit(Integer limit)
Specifies that the number of virtual tapes descried be limited to the specified number.DescribeTapeArchivesRequest
withMarker(String marker)
An opaque string that indicates the position at which to begin describing virtual tapes.DescribeTapeArchivesRequest
withTapeARNs(String... tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.DescribeTapeArchivesRequest
withTapeARNs(Collection<String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.-
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
-
getTapeARNs
public List<String> getTapeARNs()
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
- Returns:
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
-
setTapeARNs
public void setTapeARNs(Collection<String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
- Parameters:
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
-
withTapeARNs
public DescribeTapeArchivesRequest withTapeARNs(String... tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
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
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTapeARNs
public DescribeTapeArchivesRequest withTapeARNs(Collection<String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
- Parameters:
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
An opaque string that indicates the position at which to begin describing virtual tapes.
- Parameters:
marker
- An opaque string that indicates the position at which to begin describing virtual tapes.
-
getMarker
public String getMarker()
An opaque string that indicates the position at which to begin describing virtual tapes.
- Returns:
- An opaque string that indicates the position at which to begin describing virtual tapes.
-
withMarker
public DescribeTapeArchivesRequest withMarker(String marker)
An opaque string that indicates the position at which to begin describing virtual tapes.
- Parameters:
marker
- An opaque string that indicates the position at which to begin describing virtual tapes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
Specifies that the number of virtual tapes descried be limited to the specified number.
- Parameters:
limit
- Specifies that the number of virtual tapes descried be limited to the specified number.
-
getLimit
public Integer getLimit()
Specifies that the number of virtual tapes descried be limited to the specified number.
- Returns:
- Specifies that the number of virtual tapes descried be limited to the specified number.
-
withLimit
public DescribeTapeArchivesRequest withLimit(Integer limit)
Specifies that the number of virtual tapes descried be limited to the specified number.
- Parameters:
limit
- Specifies that the number of virtual tapes descried be limited to the specified number.- 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 DescribeTapeArchivesRequest 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()
-
-