public class DescribeTapesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
DescribeTapesInput
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN |
private java.lang.Integer |
limit
Specifies that the number of virtual tapes described be limited to the
specified number.
|
private java.lang.String |
marker
A marker value, obtained in a previous call to
DescribeTapes
. |
private SdkInternalList<java.lang.String> |
tapeARNs
Specifies one or more unique Amazon Resource Names (ARNs) that represent
the virtual tapes you want to describe.
|
NOOP
Constructor and Description |
---|
DescribeTapesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTapesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN() |
java.lang.Integer |
getLimit()
Specifies that the number of virtual tapes described be limited to the
specified number.
|
java.lang.String |
getMarker()
A marker value, obtained in a previous call to
DescribeTapes
. |
java.util.List<java.lang.String> |
getTapeARNs()
Specifies one or more unique Amazon Resource Names (ARNs) that represent
the virtual tapes you want to describe.
|
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN) |
void |
setLimit(java.lang.Integer limit)
Specifies that the number of virtual tapes described be limited to the
specified number.
|
void |
setMarker(java.lang.String marker)
A marker value, obtained in a previous call to
DescribeTapes
. |
void |
setTapeARNs(java.util.Collection<java.lang.String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent
the virtual tapes you want to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTapesRequest |
withGatewayARN(java.lang.String gatewayARN) |
DescribeTapesRequest |
withLimit(java.lang.Integer limit)
Specifies that the number of virtual tapes described be limited to the
specified number.
|
DescribeTapesRequest |
withMarker(java.lang.String marker)
A marker value, obtained in a previous call to
DescribeTapes
. |
DescribeTapesRequest |
withTapeARNs(java.util.Collection<java.lang.String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent
the virtual tapes you want to describe.
|
DescribeTapesRequest |
withTapeARNs(java.lang.String... tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that represent
the virtual tapes you want to describe.
|
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
private java.lang.String gatewayARN
private SdkInternalList<java.lang.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.
private java.lang.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.
private java.lang.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.
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public DescribeTapesRequest withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.util.List<java.lang.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.
public void setTapeARNs(java.util.Collection<java.lang.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.
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.public DescribeTapesRequest withTapeARNs(java.lang.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)
or
withTapeARNs(java.util.Collection)
if you want to override the
existing values.
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.public DescribeTapesRequest withTapeARNs(java.util.Collection<java.lang.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.
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.public void setMarker(java.lang.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.
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.
public java.lang.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.
DescribeTapes
. This marker indicates which page of
results to retrieve.
If not specified, the first page of results is retrieved.
public DescribeTapesRequest withMarker(java.lang.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.
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.
public void setLimit(java.lang.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.
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.
public java.lang.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.
Amazon Web Services may impose its own limit, if this field is not set.
public DescribeTapesRequest withLimit(java.lang.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.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTapesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()