public class DescribeImportImageTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeImportImageTasksRequest>
DescribeImportImageTasks operation
.
Displays details about an import virtual machine or import snapshot tasks that are already created.
NOOP
Constructor and Description |
---|
DescribeImportImageTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImportImageTasksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DescribeImportImageTasksRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getImportTaskIds()
A list of import image task IDs.
|
Integer |
getMaxResults()
The maximum number of results to return in a single request.
|
String |
getNextToken()
A token that indicates the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setImportTaskIds(Collection<String> importTaskIds)
A list of import image task IDs.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single request.
|
void |
setNextToken(String nextToken)
A token that indicates the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeImportImageTasksRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeImportImageTasksRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeImportImageTasksRequest |
withImportTaskIds(Collection<String> importTaskIds)
A list of import image task IDs.
|
DescribeImportImageTasksRequest |
withImportTaskIds(String... importTaskIds)
A list of import image task IDs.
|
DescribeImportImageTasksRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single request.
|
DescribeImportImageTasksRequest |
withNextToken(String nextToken)
A token that indicates the next page of results.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getImportTaskIds()
public void setImportTaskIds(Collection<String> importTaskIds)
importTaskIds
- A list of import image task IDs.public DescribeImportImageTasksRequest withImportTaskIds(String... importTaskIds)
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.
Returns a reference to this object so that method calls can be chained together.
importTaskIds
- A list of import image task IDs.public DescribeImportImageTasksRequest withImportTaskIds(Collection<String> importTaskIds)
Returns a reference to this object so that method calls can be chained together.
importTaskIds
- A list of import image task IDs.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A token that indicates the next page of results.public DescribeImportImageTasksRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A token that indicates the next page of results.public Integer getMaxResults()
public void setMaxResults(Integer maxResults)
maxResults
- The maximum number of results to return in a single request.public DescribeImportImageTasksRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
maxResults
- The maximum number of results to return in a single request.public void setFilters(Collection<Filter> filters)
filters
- One or more filters.public DescribeImportImageTasksRequest withFilters(Filter... 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.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters.public DescribeImportImageTasksRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters.public Request<DescribeImportImageTasksRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeImportImageTasksRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeImportImageTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.