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.Builderscale(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
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 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.Builderavoiding the need to create one manually viaScale.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-