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 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 the Scale.Builder avoiding the need to create one manually via Scale.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scale(Scale).

      Parameters:
      scale - a consumer that will call methods on Scale.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.