@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImportSnapshotTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeImportSnapshotTasksRequest>
NOOP
Constructor and Description |
---|
DescribeImportSnapshotTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImportSnapshotTasksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeImportSnapshotTasksRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getImportTaskIds()
A list of import snapshot task IDs.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
A token that indicates the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setImportTaskIds(Collection<String> importTaskIds)
A list of import snapshot task IDs.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
A token that indicates the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImportSnapshotTasksRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeImportSnapshotTasksRequest |
withFilters(Filter... filters)
The filters.
|
DescribeImportSnapshotTasksRequest |
withImportTaskIds(Collection<String> importTaskIds)
A list of import snapshot task IDs.
|
DescribeImportSnapshotTasksRequest |
withImportTaskIds(String... importTaskIds)
A list of import snapshot task IDs.
|
DescribeImportSnapshotTasksRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeImportSnapshotTasksRequest |
withNextToken(String nextToken)
A token that indicates 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 void setFilters(Collection<Filter> filters)
The filters.
filters
- The filters.public DescribeImportSnapshotTasksRequest withFilters(Filter... filters)
The 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
- The filters.public DescribeImportSnapshotTasksRequest withFilters(Collection<Filter> filters)
The filters.
filters
- The filters.public List<String> getImportTaskIds()
A list of import snapshot task IDs.
public void setImportTaskIds(Collection<String> importTaskIds)
A list of import snapshot task IDs.
importTaskIds
- A list of import snapshot task IDs.public DescribeImportSnapshotTasksRequest withImportTaskIds(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(Collection<String> importTaskIds)
A list of import snapshot task IDs.
importTaskIds
- A list of import snapshot task IDs.public void setMaxResults(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 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(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 void setNextToken(String nextToken)
A token that indicates the next page of results.
nextToken
- A token that indicates the next page of results.public String getNextToken()
A token that indicates the next page of results.
public DescribeImportSnapshotTasksRequest withNextToken(String nextToken)
A token that indicates the next page of results.
nextToken
- A token that indicates the next page of results.public Request<DescribeImportSnapshotTasksRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeImportSnapshotTasksRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeImportSnapshotTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()