public Service withTaskSets(java.util.Collection<TaskSet> taskSets) {
        setTaskSets(taskSets);
        return this;
    }
<p>
Information about a set of Amazon ECS tasks in either an CodeDeploy or an <code>EXTERNAL</code> deployment. An
Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether
the task set serves production traffic.
</p>

@param taskSets
       Information about a set of Amazon ECS tasks in either an CodeDeploy or an <code>EXTERNAL</code>
       deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks
       are running, and whether the task set serves production traffic.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Service.java