Class DescribeTasksResult

java.lang.Object
com.amazonaws.services.ecs.model.DescribeTasksResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeTasksResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeTasksResult

      public DescribeTasksResult()
  • Method Details

    • getTasks

      public List<Task> getTasks()

      The list of tasks.

      Returns:
      The list of tasks.
    • setTasks

      public void setTasks(Collection<Task> tasks)

      The list of tasks.

      Parameters:
      tasks - The list of tasks.
    • withTasks

      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.

      Parameters:
      tasks - The list of tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTasks

      public DescribeTasksResult withTasks(Collection<Task> tasks)

      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

      public List<Failure> getFailures()

      Any failures associated with the call.

      Returns:
      Any failures associated with the call.
    • setFailures

      public void setFailures(Collection<Failure> failures)

      Any failures associated with the call.

      Parameters:
      failures - Any failures associated with the call.
    • withFailures

      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.

      Parameters:
      failures - Any failures associated with the call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withFailures

      public DescribeTasksResult withFailures(Collection<Failure> failures)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeTasksResult clone()
      Overrides:
      clone in class Object