Class DescribeTasksRequest

    • Constructor Detail

      • DescribeTasksRequest

        public DescribeTasksRequest()
    • Method Detail

      • setCluster

        public void setCluster​(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
      • getCluster

        public String getCluster()

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.

        Returns:
        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
      • withCluster

        public DescribeTasksRequest withCluster​(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTasks

        public List<String> getTasks()

        A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.

        Returns:
        A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
      • setTasks

        public void setTasks​(Collection<String> tasks)

        A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.

        Parameters:
        tasks - A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
      • withTasks

        public DescribeTasksRequest withTasks​(String... tasks)

        A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.

        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 - A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTasks

        public DescribeTasksRequest withTasks​(Collection<String> tasks)

        A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.

        Parameters:
        tasks - A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object