@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSnapshotTierStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeSnapshotTierStatusRequest>
NOOP
Constructor and Description |
---|
DescribeSnapshotTierStatusRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotTierStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeSnapshotTierStatusRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSnapshotTierStatusRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeSnapshotTierStatusRequest |
withFilters(Filter... filters)
The filters.
|
DescribeSnapshotTierStatusRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeSnapshotTierStatusRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilters()
The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
public void setFilters(Collection<Filter> filters)
The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
filters
- The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
public DescribeSnapshotTierStatusRequest withFilters(Filter... filters)
The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
public DescribeSnapshotTierStatusRequest withFilters(Collection<Filter> filters)
The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
filters
- The filters.
snapshot-id
- The snapshot ID.
volume-id
- The ID of the volume the snapshot is for.
last-tiering-operation
- The state of the last archive or restore action. (
archival-in-progress
| archival-completed
| archival-failed
|
permanent-restore-in-progress
| permanent-restore-completed
|
permanent-restore-failed
| temporary-restore-in-progress
|
temporary-restore-completed
| temporary-restore-failed
)
public void setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeSnapshotTierStatusRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
public DescribeSnapshotTierStatusRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.public Request<DescribeSnapshotTierStatusRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeSnapshotTierStatusRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeSnapshotTierStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()