Interface DescribeTasksRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeTasksRequest.Builder,DescribeTasksRequest>
,EcsRequest.Builder
,SdkBuilder<DescribeTasksRequest.Builder,DescribeTasksRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeTasksRequest
public static interface DescribeTasksRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<DescribeTasksRequest.Builder,DescribeTasksRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTasksRequest.Builder
cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.DescribeTasksRequest.Builder
include(Collection<TaskField> include)
Specifies whether you want to see the resource tags for the task.DescribeTasksRequest.Builder
include(TaskField... include)
Specifies whether you want to see the resource tags for the task.DescribeTasksRequest.Builder
includeWithStrings(String... include)
Specifies whether you want to see the resource tags for the task.DescribeTasksRequest.Builder
includeWithStrings(Collection<String> include)
Specifies whether you want to see the resource tags for the task.DescribeTasksRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DescribeTasksRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DescribeTasksRequest.Builder
tasks(String... tasks)
A list of up to 100 task IDs or full ARN entries.DescribeTasksRequest.Builder
tasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
cluster
DescribeTasksRequest.Builder cluster(String 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. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
- 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. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
DescribeTasksRequest.Builder tasks(Collection<String> 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
DescribeTasksRequest.Builder tasks(String... 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. IfTAGS
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. IfTAGS
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
DescribeTasksRequest.Builder include(Collection<TaskField> 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. IfTAGS
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
DescribeTasksRequest.Builder include(TaskField... 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. IfTAGS
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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-