@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImportSnapshotTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output for DescribeImportSnapshotTasks.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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.
public 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.
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)
A list of zero or more import snapshot 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
setImportSnapshotTasks(java.util.Collection)
or withImportSnapshotTasks(java.util.Collection)
if you want to override the existing values.
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)
A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
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 void setNextToken(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 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 DescribeImportSnapshotTasksResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public DescribeImportSnapshotTasksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.