public class DescribeTasksResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeTasksResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTasksResult |
clone() |
boolean |
equals(Object obj) |
List<Failure> |
getFailures()
Any failures associated with the call.
|
List<Task> |
getTasks()
The list of tasks.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures)
Any failures associated with the call.
|
void |
setTasks(Collection<Task> tasks)
The list of tasks.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTasksResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeTasksResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
DescribeTasksResult |
withTasks(Collection<Task> tasks)
The list of tasks.
|
DescribeTasksResult |
withTasks(Task... tasks)
The list of tasks.
|
public void setTasks(Collection<Task> tasks)
The list of tasks.
tasks - The list of tasks.public DescribeTasksResult withTasks(Task... tasks)
The list of tasks.
NOTE: This method appends the values to the existing list (if
any). Use setTasks(java.util.Collection) or
withTasks(java.util.Collection) if you want to override the
existing values.
tasks - The list of tasks.public DescribeTasksResult withTasks(Collection<Task> tasks)
The list of tasks.
tasks - The list of tasks.public List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.public DescribeTasksResult withFailures(Failure... failures)
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if
any). Use setFailures(java.util.Collection) or
withFailures(java.util.Collection) if you want to override the
existing values.
failures - Any failures associated with the call.public DescribeTasksResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
failures - Any failures associated with the call.public String toString()
toString in class ObjectObject.toString()public DescribeTasksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.