public class DescribeTapeArchivesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTapeArchives operation
.
Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
If a specific TapeARN
is not specified, AWS Storage
Gateway returns a description of all virtual tapes found in the VTS
associated with your account.
NOOP
Constructor and Description |
---|
DescribeTapeArchivesRequest() |
Modifier and Type | Method and 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(Collection<String> tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that
represent the virtual tapes you want to describe.
|
DescribeTapeArchivesRequest |
withTapeARNs(String... tapeARNs)
Specifies one or more unique Amazon Resource Names (ARNs) that
represent the virtual tapes you want to describe.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getTapeARNs()
public void setTapeARNs(Collection<String> tapeARNs)
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that
represent the virtual tapes you want to describe.public DescribeTapeArchivesRequest withTapeARNs(String... tapeARNs)
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.
Returns a reference to this object so that method calls can be chained together.
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that
represent the virtual tapes you want to describe.public DescribeTapeArchivesRequest withTapeARNs(Collection<String> tapeARNs)
Returns a reference to this object so that method calls can be chained together.
tapeARNs
- Specifies one or more unique Amazon Resource Names (ARNs) that
represent the virtual tapes you want to describe.public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker
- An opaque string that indicates the position at which to begin
describing virtual tapes.public DescribeTapeArchivesRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker
- An opaque string that indicates the position at which to begin
describing virtual tapes.public Integer getLimit()
Constraints:
Range: 1 -
public void setLimit(Integer limit)
Constraints:
Range: 1 -
limit
- Specifies that the number of virtual tapes descried be limited to the
specified number.public DescribeTapeArchivesRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
limit
- Specifies that the number of virtual tapes descried be limited to the
specified number.public String toString()
toString
in class Object
Object.toString()
public DescribeTapeArchivesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.