Class DescribeTapesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
DescribeTapesInput
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getLimit()
Specifies that the number of virtual tapes described be limited to the specified number.A marker value, obtained in a previous call toDescribeTapes
.Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.int
hashCode()
void
setGatewayARN
(String gatewayARN) void
Specifies that the number of virtual tapes described be limited to the specified number.void
A marker value, obtained in a previous call toDescribeTapes
.void
setTapeARNs
(Collection<String> tapeARNs) Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.toString()
Returns a string representation of this object; useful for testing and debugging.withGatewayARN
(String gatewayARN) Specifies that the number of virtual tapes described be limited to the specified number.withMarker
(String marker) A marker value, obtained in a previous call toDescribeTapes
.withTapeARNs
(String... tapeARNs) Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.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
-
Constructor Details
-
DescribeTapesRequest
public DescribeTapesRequest()
-
-
Method Details
-
setGatewayARN
- Parameters:
gatewayARN
-
-
getGatewayARN
- Returns:
-
withGatewayARN
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTapeARNs
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
- Returns:
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
-
setTapeARNs
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
- Parameters:
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
-
withTapeARNs
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
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. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTapeARNs
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.
- Parameters:
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
A marker value, obtained in a previous call to
DescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
- Parameters:
marker
- A marker value, obtained in a previous call toDescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
-
getMarker
A marker value, obtained in a previous call to
DescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
- Returns:
- A marker value, obtained in a previous call to
DescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
-
withMarker
A marker value, obtained in a previous call to
DescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
- Parameters:
marker
- A marker value, obtained in a previous call toDescribeTapes
. This marker indicates which page of results to retrieve.If not specified, the first page of results is retrieved.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
Specifies that the number of virtual tapes described be limited to the specified number.
Amazon Web Services may impose its own limit, if this field is not set.
- Parameters:
limit
- Specifies that the number of virtual tapes described be limited to the specified number.Amazon Web Services may impose its own limit, if this field is not set.
-
getLimit
Specifies that the number of virtual tapes described be limited to the specified number.
Amazon Web Services may impose its own limit, if this field is not set.
- Returns:
- Specifies that the number of virtual tapes described be limited
to the specified number.
Amazon Web Services may impose its own limit, if this field is not set.
-
withLimit
Specifies that the number of virtual tapes described be limited to the specified number.
Amazon Web Services may impose its own limit, if this field is not set.
- Parameters:
limit
- Specifies that the number of virtual tapes described be limited to the specified number.Amazon Web Services may impose its own limit, if this field is not set.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-