Interface ListTasksRequest.Builder

  • Method Details

    • agentContextId

      ListTasksRequest.Builder agentContextId(String agentContextId)

      The agent context, as an ID or ARN.

      Parameters:
      agentContextId - The agent context, as an ID or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Specify a status to list only the tasks with that status.

      Parameters:
      status - Specify a status to list only the tasks with that status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Specify a status to list only the tasks with that status.

      Parameters:
      status - Specify a status to list only the tasks with that status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Specify a type to list only the tasks of that type.

      Parameters:
      type - Specify a type to list only the tasks of that type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Specify a type to list only the tasks of that type.

      Parameters:
      type - Specify a type to list only the tasks of that type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      ListTasksRequest.Builder maxResults(Integer maxResults)

      The maximum number of tasks to return in one page, from 1–100. The service can return fewer. Defaults to 20. A value outside 1–100 fails with ValidationException.

      Parameters:
      maxResults - The maximum number of tasks to return in one page, from 1–100. The service can return fewer. Defaults to 20. A value outside 1–100 fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListTasksRequest.Builder nextToken(String nextToken)

      The pagination token from a previous ListTasks response. Omit it for the first page, and keep the status and type filters the same on every page.

      Parameters:
      nextToken - The pagination token from a previous ListTasks response. Omit it for the first page, and keep the status and type filters the same on every page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.