Package com.amazonaws.services.ecs.model
Class DescribeTasksResult
java.lang.Object
com.amazonaws.services.ecs.model.DescribeTasksResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Any failures associated with the call.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.toString()
Returns a string representation of this object; useful for testing and debugging.withFailures
(Failure... failures) Any failures associated with the call.withFailures
(Collection<Failure> failures) Any failures associated with the call.The list of tasks.withTasks
(Collection<Task> tasks) The list of tasks.
-
Constructor Details
-
DescribeTasksResult
public DescribeTasksResult()
-
-
Method Details
-
getTasks
The list of tasks.
- Returns:
- The list of tasks.
-
setTasks
The list of tasks.
- Parameters:
tasks
- The list of tasks.
-
withTasks
The list of tasks.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
orwithTasks(java.util.Collection)
if you want to override the existing values.- Parameters:
tasks
- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTasks
The list of tasks.
- Parameters:
tasks
- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailures
Any failures associated with the call.
- Returns:
- Any failures associated with the call.
-
setFailures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.
-
withFailures
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
orwithFailures(java.util.Collection)
if you want to override the existing values.- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-