Class DescribeTapesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.DescribeTapesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeTapesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTapesInput
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeTapesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeTapesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetGatewayARN()IntegergetLimit()Specifies that the number of virtual tapes described be limited to the specified number.StringgetMarker()A marker value, obtained in a previous call toDescribeTapes.List<String>getTapeARNs()Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.inthashCode()voidsetGatewayARN(String gatewayARN)voidsetLimit(Integer limit)Specifies that the number of virtual tapes described be limited to the specified number.voidsetMarker(String marker)A marker value, obtained in a previous call toDescribeTapes.voidsetTapeARNs(Collection<String> tapeARNs)Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeTapesRequestwithGatewayARN(String gatewayARN)DescribeTapesRequestwithLimit(Integer limit)Specifies that the number of virtual tapes described be limited to the specified number.DescribeTapesRequestwithMarker(String marker)A marker value, obtained in a previous call toDescribeTapes.DescribeTapesRequestwithTapeARNs(String... tapeARNs)Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.DescribeTapesRequestwithTapeARNs(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
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public DescribeTapesRequest withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTapeARNs
public List<String> 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
public void setTapeARNs(Collection<String> 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.
- 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
public DescribeTapesRequest withTapeARNs(String... 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.
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
public DescribeTapesRequest withTapeARNs(Collection<String> 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.
- 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
public void setMarker(String marker)
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
public String 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
public DescribeTapesRequest withMarker(String marker)
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
public void setLimit(Integer 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.
- 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
public Integer 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
public DescribeTapesRequest withLimit(Integer 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.
- 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
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 DescribeTapesRequest 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()
-
-