@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RunTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RunTaskResult() |
Modifier and Type | Method and Description |
---|---|
RunTaskResult |
clone() |
boolean |
equals(Object obj) |
List<Failure> |
getFailures()
Any failures associated with the call.
|
List<Task> |
getTasks()
A full description of the tasks that were run.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures)
Any failures associated with the call.
|
void |
setTasks(Collection<Task> tasks)
A full description of the tasks that were run.
|
String |
toString()
Returns a string representation of this object.
|
RunTaskResult |
withFailures(Collection<Failure> failures)
Any failures associated with the call.
|
RunTaskResult |
withFailures(Failure... failures)
Any failures associated with the call.
|
RunTaskResult |
withTasks(Collection<Task> tasks)
A full description of the tasks that were run.
|
RunTaskResult |
withTasks(Task... tasks)
A full description of the tasks that were run.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Task> getTasks()
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
public void setTasks(Collection<Task> tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
tasks
- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are
described here.
public RunTaskResult withTasks(Task... tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster 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 run. The tasks that were successfully placed on your cluster are
described here.public RunTaskResult withTasks(Collection<Task> tasks)
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
tasks
- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are
described here.
public List<Failure> getFailures()
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
public void setFailures(Collection<Failure> failures)
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
failures
- Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
public RunTaskResult withFailures(Failure... failures)
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
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.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
public RunTaskResult withFailures(Collection<Failure> failures)
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
failures
- Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public RunTaskResult clone()