public class DescribeImportSnapshotTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeImportSnapshotTasksRequest>
Contains the parameters for DescribeImportSnapshotTasks.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private SdkInternalList<java.lang.String> |
importTaskIds
A list of import snapshot task IDs.
|
private java.lang.Integer |
maxResults
The maximum number of results to return in a single call.
|
private java.lang.String |
nextToken
A token that indicates the next page of results.
|
NOOP
Constructor and Description |
---|
DescribeImportSnapshotTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImportSnapshotTasksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeImportSnapshotTasksRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.util.List<java.lang.String> |
getImportTaskIds()
A list of import snapshot task IDs.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
java.lang.String |
getNextToken()
A token that indicates the next page of results.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import snapshot task IDs.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(java.lang.String nextToken)
A token that indicates the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeImportSnapshotTasksRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeImportSnapshotTasksRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeImportSnapshotTasksRequest |
withImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import snapshot task IDs.
|
DescribeImportSnapshotTasksRequest |
withImportTaskIds(java.lang.String... importTaskIds)
A list of import snapshot task IDs.
|
DescribeImportSnapshotTasksRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeImportSnapshotTasksRequest |
withNextToken(java.lang.String nextToken)
A token that indicates the next page of results.
|
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 SdkInternalList<java.lang.String> importTaskIds
A list of import snapshot task IDs.
private java.lang.String nextToken
A token that indicates the next page of results.
private java.lang.Integer maxResults
The maximum number of results to return in a single call. To retrieve the
remaining results, make another call with the returned
NextToken
value.
private SdkInternalList<Filter> filters
One or more filters.
public java.util.List<java.lang.String> getImportTaskIds()
A list of import snapshot task IDs.
public void setImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import snapshot task IDs.
importTaskIds
- A list of import snapshot task IDs.public DescribeImportSnapshotTasksRequest withImportTaskIds(java.lang.String... importTaskIds)
A list of import snapshot task IDs.
NOTE: This method appends the values to the existing list (if
any). Use setImportTaskIds(java.util.Collection)
or
withImportTaskIds(java.util.Collection)
if you want to override
the existing values.
importTaskIds
- A list of import snapshot task IDs.public DescribeImportSnapshotTasksRequest withImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import snapshot task IDs.
importTaskIds
- A list of import snapshot task IDs.public void setNextToken(java.lang.String nextToken)
A token that indicates the next page of results.
nextToken
- A token that indicates the next page of results.public java.lang.String getNextToken()
A token that indicates the next page of results.
public DescribeImportSnapshotTasksRequest withNextToken(java.lang.String nextToken)
A token that indicates the next page of results.
nextToken
- A token that indicates the next page of results.public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call. To retrieve the
remaining results, make another call with the returned
NextToken
value.
maxResults
- The maximum number of results to return in a single call. To
retrieve the remaining results, make another call with the
returned NextToken
value.public java.lang.Integer getMaxResults()
The maximum number of results to return in a single call. To retrieve the
remaining results, make another call with the returned
NextToken
value.
NextToken
value.public DescribeImportSnapshotTasksRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call. To retrieve the
remaining results, make another call with the returned
NextToken
value.
maxResults
- The maximum number of results to return in a single call. To
retrieve the remaining results, make another call with the
returned NextToken
value.public java.util.List<Filter> getFilters()
One or more filters.
public void setFilters(java.util.Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public DescribeImportSnapshotTasksRequest withFilters(Filter... filters)
One or more filters.
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
- One or more filters.public DescribeImportSnapshotTasksRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public Request<DescribeImportSnapshotTasksRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeImportSnapshotTasksRequest>
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 DescribeImportSnapshotTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()