Class ListTasksResult

    • Constructor Detail

      • ListTasksResult

        public ListTasksResult()
    • Method Detail

      • getTaskArns

        public List<String> getTaskArns()

        The list of task Amazon Resource Name (ARN) entries for the ListTasks request.

        Returns:
        The list of task Amazon Resource Name (ARN) entries for the ListTasks request.
      • setTaskArns

        public void setTaskArns​(Collection<String> taskArns)

        The list of task Amazon Resource Name (ARN) entries for the ListTasks request.

        Parameters:
        taskArns - The list of task Amazon Resource Name (ARN) entries for the ListTasks request.
      • withTaskArns

        public ListTasksResult withTaskArns​(String... taskArns)

        The list of task Amazon Resource Name (ARN) entries for the ListTasks request.

        NOTE: This method appends the values to the existing list (if any). Use setTaskArns(java.util.Collection) or withTaskArns(java.util.Collection) if you want to override the existing values.

        Parameters:
        taskArns - The list of task Amazon Resource Name (ARN) entries for the ListTasks request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTaskArns

        public ListTasksResult withTaskArns​(Collection<String> taskArns)

        The list of task Amazon Resource Name (ARN) entries for the ListTasks request.

        Parameters:
        taskArns - The list of task Amazon Resource Name (ARN) entries for the ListTasks request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
      • getNextToken

        public String getNextToken()

        The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

        Returns:
        The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
      • withNextToken

        public ListTasksResult withNextToken​(String nextToken)

        The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
        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