Interface CreateTaskSetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateTaskSetResponse.Builder,CreateTaskSetResponse>, EcsResponse.Builder, SdkBuilder<CreateTaskSetResponse.Builder,CreateTaskSetResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateTaskSetResponse

public static interface CreateTaskSetResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<CreateTaskSetResponse.Builder,CreateTaskSetResponse>
  • Method Details

    • taskSet

      Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL deployment. A task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic.

      Parameters:
      taskSet - Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL deployment. A task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskSet

      Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL deployment. A task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic.

      This is a convenience method that creates an instance of the TaskSet.Builder avoiding the need to create one manually via TaskSet.builder().

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

      Parameters:
      taskSet - a consumer that will call methods on TaskSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: