Interface UpdateTaskSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTaskSetRequest.Builder,
,UpdateTaskSetRequest> EcsRequest.Builder
,SdkBuilder<UpdateTaskSetRequest.Builder,
,UpdateTaskSetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTaskSetRequest
public static interface UpdateTaskSetRequest.Builder
extends EcsRequest.Builder, SdkPojo, CopyableBuilder<UpdateTaskSetRequest.Builder,UpdateTaskSetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateTaskSetRequest.Builder
scale
(Consumer<Scale.Builder> scale) A floating-point percentage of the desired number of tasks to place and keep running in the task set.A floating-point percentage of the desired number of tasks to place and keep running in the task set.The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.The short name or full Amazon Resource Name (ARN) of the task set to update.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 Details
-
cluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.
- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.
- Parameters:
service
- The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSet
The short name or full Amazon Resource Name (ARN) of the task set to update.
- Parameters:
taskSet
- The short name or full Amazon Resource Name (ARN) of the task set to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scale
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
- Parameters:
scale
- A floating-point percentage of the desired number of tasks to place and keep running in the task set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scale
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
This is a convenience method that creates an instance of theScale.Builder
avoiding the need to create one manually viaScale.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscale(Scale)
.- Parameters:
scale
- a consumer that will call methods onScale.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateTaskSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTaskSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-