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() |
List<Task> |
getTasks()
The list of tasks.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures) |
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)
Returns a reference to this object so that method calls can be chained together.
|
DescribeTasksResult |
withFailures(Failure... failures)
NOTE: This method appends the values to the existing list (if
any).
|
DescribeTasksResult |
withTasks(Collection<Task> tasks)
The list of tasks.
|
DescribeTasksResult |
withTasks(Task... tasks)
The list of tasks.
|
public void setTasks(Collection<Task> tasks)
tasks - The list of tasks.public DescribeTasksResult withTasks(Task... 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.
Returns a reference to this object so that method calls can be chained together.
tasks - The list of tasks.public DescribeTasksResult withTasks(Collection<Task> tasks)
Returns a reference to this object so that method calls can be chained together.
tasks - The list of tasks.public void setFailures(Collection<Failure> failures)
failures - public DescribeTasksResult withFailures(Failure... failures)
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.
Returns a reference to this object so that method calls can be chained together.
failures - public DescribeTasksResult withFailures(Collection<Failure> failures)
Returns a reference to this object so that method calls can be chained together.
failures - public String toString()
toString in class ObjectObject.toString()public DescribeTasksResult clone()
Copyright © 2015. All rights reserved.