public class DescribeImportSnapshotTasksResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeImportSnapshotTasksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeImportSnapshotTasksResult |
clone() |
boolean |
equals(Object obj) |
List<ImportSnapshotTask> |
getImportSnapshotTasks()
A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.
|
String |
getNextToken()
The token to use to get the next page of results.
|
int |
hashCode() |
void |
setImportSnapshotTasks(Collection<ImportSnapshotTask> importSnapshotTasks)
A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.
|
void |
setNextToken(String nextToken)
The token to use to get the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeImportSnapshotTasksResult |
withImportSnapshotTasks(Collection<ImportSnapshotTask> importSnapshotTasks)
A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.
|
DescribeImportSnapshotTasksResult |
withImportSnapshotTasks(ImportSnapshotTask... importSnapshotTasks)
A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.
|
DescribeImportSnapshotTasksResult |
withNextToken(String nextToken)
The token to use to get the next page of results.
|
public List<ImportSnapshotTask> getImportSnapshotTasks()
public void setImportSnapshotTasks(Collection<ImportSnapshotTask> importSnapshotTasks)
importSnapshotTasks
- A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.public DescribeImportSnapshotTasksResult withImportSnapshotTasks(ImportSnapshotTask... importSnapshotTasks)
NOTE: This method appends the values to the existing list (if
any). Use setImportSnapshotTasks(java.util.Collection)
or
withImportSnapshotTasks(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.
importSnapshotTasks
- A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.public DescribeImportSnapshotTasksResult withImportSnapshotTasks(Collection<ImportSnapshotTask> importSnapshotTasks)
Returns a reference to this object so that method calls can be chained together.
importSnapshotTasks
- A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.public String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(String nextToken)
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 DescribeImportSnapshotTasksResult withNextToken(String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public DescribeImportSnapshotTasksResult clone()
Copyright © 2015. All rights reserved.