public class DescribeImportImageTasksResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output for DescribeImportImageTasks.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ImportImageTask> |
importImageTasks
A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
|
private java.lang.String |
nextToken
The token to use to get the next page of results.
|
Constructor and Description |
---|
DescribeImportImageTasksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeImportImageTasksResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ImportImageTask> |
getImportImageTasks()
A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
|
java.lang.String |
getNextToken()
The token to use to get the next page of results.
|
int |
hashCode() |
void |
setImportImageTasks(java.util.Collection<ImportImageTask> importImageTasks)
A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
|
void |
setNextToken(java.lang.String nextToken)
The token to use to get the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeImportImageTasksResult |
withImportImageTasks(java.util.Collection<ImportImageTask> importImageTasks)
A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
|
DescribeImportImageTasksResult |
withImportImageTasks(ImportImageTask... importImageTasks)
A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
|
DescribeImportImageTasksResult |
withNextToken(java.lang.String nextToken)
The token to use to get the next page of results.
|
private SdkInternalList<ImportImageTask> importImageTasks
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
private java.lang.String nextToken
The token to use to get the next page of results. This value is
null
when there are no more results to return.
public java.util.List<ImportImageTask> getImportImageTasks()
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
public void setImportImageTasks(java.util.Collection<ImportImageTask> importImageTasks)
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
importImageTasks
- A list of zero or more import image tasks that are currently
active or were completed or canceled in the previous 7 days.public DescribeImportImageTasksResult withImportImageTasks(ImportImageTask... importImageTasks)
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
NOTE: This method appends the values to the existing list (if
any). Use setImportImageTasks(java.util.Collection)
or
withImportImageTasks(java.util.Collection)
if you want to
override the existing values.
importImageTasks
- A list of zero or more import image tasks that are currently
active or were completed or canceled in the previous 7 days.public DescribeImportImageTasksResult withImportImageTasks(java.util.Collection<ImportImageTask> importImageTasks)
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
importImageTasks
- A list of zero or more import image tasks that are currently
active or were completed or canceled in the previous 7 days.public void setNextToken(java.lang.String nextToken)
The token to use to get the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to get the next page of results. This value is
null
when there are no more results to return.public java.lang.String getNextToken()
The token to use to get the next page of results. This value is
null
when there are no more results to return.
null
when there are no more results to return.public DescribeImportImageTasksResult withNextToken(java.lang.String nextToken)
The token to use to get the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to get the next page of results. This value is
null
when there are no more results to return.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 DescribeImportImageTasksResult clone()
clone
in class java.lang.Object