@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFastSnapshotRestoresRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFastSnapshotRestoresRequest>
NOOP
Constructor and Description |
---|
DescribeFastSnapshotRestoresRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFastSnapshotRestoresRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeFastSnapshotRestoresRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFastSnapshotRestoresRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeFastSnapshotRestoresRequest |
withFilters(Filter... filters)
The filters.
|
DescribeFastSnapshotRestoresRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeFastSnapshotRestoresRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
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. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on
the snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
public void setFilters(Collection<Filter> filters)
The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
filters
- The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
public DescribeFastSnapshotRestoresRequest withFilters(Filter... filters)
The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
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. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
public DescribeFastSnapshotRestoresRequest withFilters(Collection<Filter> filters)
The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
filters
- The filters. The possible values are:
availability-zone
: The Availability Zone of the snapshot.
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the
snapshot.
snapshot-id
: The ID of the snapshot.
state
: The state of fast snapshot restores for the snapshot (enabling
|
optimizing
| enabled
| disabling
| disabled
).
public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
nextToken
value.public DescribeFastSnapshotRestoresRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribeFastSnapshotRestoresRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public Request<DescribeFastSnapshotRestoresRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFastSnapshotRestoresRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeFastSnapshotRestoresRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()