public class StartTaskResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Failure> |
failures
Any failures associated with the call.
|
private SdkInternalList<Task> |
tasks
A full description of the tasks that were started.
|
Constructor and Description |
---|
StartTaskResult() |
Modifier and Type | Method and Description |
---|---|
StartTaskResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Failure> |
getFailures()
Any failures associated with the call.
|
java.util.List<Task> |
getTasks()
A full description of the tasks that were started.
|
int |
hashCode() |
void |
setFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
|
void |
setTasks(java.util.Collection<Task> tasks)
A full description of the tasks that were started.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTaskResult |
withFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
|
StartTaskResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
StartTaskResult |
withTasks(java.util.Collection<Task> tasks)
A full description of the tasks that were started.
|
StartTaskResult |
withTasks(Task... tasks)
A full description of the tasks that were started.
|
private SdkInternalList<Task> tasks
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
private SdkInternalList<Failure> failures
Any failures associated with the call.
public java.util.List<Task> getTasks()
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
public void setTasks(java.util.Collection<Task> tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
tasks
- A full description of the tasks that were started. Each task that
was successfully placed on your container instances are described
here.public StartTaskResult withTasks(Task... tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
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
- A full description of the tasks that were started. Each task that
was successfully placed on your container instances are described
here.public StartTaskResult withTasks(java.util.Collection<Task> tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
tasks
- A full description of the tasks that were started. Each task that
was successfully placed on your container instances are described
here.public java.util.List<Failure> getFailures()
Any failures associated with the call.
public void setFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public StartTaskResult 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 StartTaskResult withFailures(java.util.Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.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 StartTaskResult clone()
clone
in class java.lang.Object