public class DescribeImportImageTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeImportImageTasksRequest>
DescribeImportImageTasks operation
.
Displays details about an import virtual machine or import snapshot tasks that are already created.
Constructor and Description |
---|
DescribeImportImageTasksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<DescribeImportImageTasksRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
Filter tasks using the
task-state filter and one of the
following values: active, completed, deleting, deleted. |
java.util.List<java.lang.String> |
getImportTaskIds()
A list of import image 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)
Filter tasks using the
task-state filter and one of the
following values: active, completed, deleting, deleted. |
void |
setImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import image 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.
|
DescribeImportImageTasksRequest |
withFilters(java.util.Collection<Filter> filters)
Filter tasks using the
task-state filter and one of the
following values: active, completed, deleting, deleted. |
DescribeImportImageTasksRequest |
withFilters(Filter... filters)
Filter tasks using the
task-state filter and one of the
following values: active, completed, deleting, deleted. |
DescribeImportImageTasksRequest |
withImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
A list of import image task IDs.
|
DescribeImportImageTasksRequest |
withImportTaskIds(java.lang.String... importTaskIds)
A list of import image task IDs.
|
DescribeImportImageTasksRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeImportImageTasksRequest |
withNextToken(java.lang.String nextToken)
A token that indicates the next page of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getImportTaskIds()
public void setImportTaskIds(java.util.Collection<java.lang.String> importTaskIds)
importTaskIds
- A list of import image task IDs.public DescribeImportImageTasksRequest withImportTaskIds(java.lang.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 DescribeImportImageTasksRequest withImportTaskIds(java.util.Collection<java.lang.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 java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- A token that indicates the next page of results.public DescribeImportImageTasksRequest withNextToken(java.lang.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 java.lang.Integer getMaxResults()
NextToken
value.NextToken
value.public void setMaxResults(java.lang.Integer maxResults)
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 DescribeImportImageTasksRequest withMaxResults(java.lang.Integer maxResults)
NextToken
value.
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 call. To retrieve
the remaining results, make another call with the returned
NextToken
value.public java.util.List<Filter> getFilters()
task-state
filter and one of the
following values: active, completed, deleting, deleted.task-state
filter and one of the
following values: active, completed, deleting, deleted.public void setFilters(java.util.Collection<Filter> filters)
task-state
filter and one of the
following values: active, completed, deleting, deleted.filters
- Filter tasks using the task-state
filter and one of the
following values: active, completed, deleting, deleted.public DescribeImportImageTasksRequest withFilters(Filter... filters)
task-state
filter and one of the
following values: active, completed, deleting, deleted.
Returns a reference to this object so that method calls can be chained together.
filters
- Filter tasks using the task-state
filter and one of the
following values: active, completed, deleting, deleted.public DescribeImportImageTasksRequest withFilters(java.util.Collection<Filter> filters)
task-state
filter and one of the
following values: active, completed, deleting, deleted.
Returns a reference to this object so that method calls can be chained together.
filters
- Filter tasks using the task-state
filter and one of the
following values: active, completed, deleting, deleted.public Request<DescribeImportImageTasksRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeImportImageTasksRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.