Interface DescribeTasksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeTasksRequest.Builder,,DescribeTasksRequest> EcsRequest.Builder,SdkBuilder<DescribeTasksRequest.Builder,,DescribeTasksRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeTasksRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.include(Collection<TaskField> include) Specifies whether you want to see the resource tags for the task.Specifies whether you want to see the resource tags for the task.includeWithStrings(String... include) Specifies whether you want to see the resource tags for the task.includeWithStrings(Collection<String> include) Specifies whether you want to see the resource tags for the task.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A list of up to 100 task IDs or full ARN entries.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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. 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
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
Specifies whether you want to see the resource tags for the task. If
TAGSis 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. IfTAGSis 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
Specifies whether you want to see the resource tags for the task. If
TAGSis 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. IfTAGSis 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
TAGSis 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. IfTAGSis 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
TAGSis 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. IfTAGSis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-