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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTaskSetRequest.Buildercluster(String cluster)The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.UpdateTaskSetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTaskSetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)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.UpdateTaskSetRequest.Builderscale(Scale scale)A floating-point percentage of the desired number of tasks to place and keep running in the task set.UpdateTaskSetRequest.Builderservice(String service)The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.UpdateTaskSetRequest.BuildertaskSet(String taskSet)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 Detail
-
cluster
UpdateTaskSetRequest.Builder cluster(String 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
UpdateTaskSetRequest.Builder service(String 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
UpdateTaskSetRequest.Builder taskSet(String 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
UpdateTaskSetRequest.Builder scale(Scale 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
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.
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:
scale(Scale)
-
overrideConfiguration
UpdateTaskSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTaskSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-