Interface DescribeTasksRequest.Builder

  • Method Details

    • cluster

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

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

      A list of up to 100 task IDs or full ARN entries.

      Parameters:
      tasks - A list of up to 100 task IDs or full ARN entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tasks

      A list of up to 100 task IDs or full ARN entries.

      Parameters:
      tasks - A list of up to 100 task IDs or full ARN entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeWithStrings

      DescribeTasksRequest.Builder includeWithStrings(Collection<String> include)

      Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

      Parameters:
      include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeWithStrings

      DescribeTasksRequest.Builder includeWithStrings(String... include)

      Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

      Parameters:
      include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • include

      Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

      Parameters:
      include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • include

      Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

      Parameters:
      include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeTasksRequest.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.