public DescribeTaskSetsResult withTaskSets(TaskSet... taskSets) {
        if (this.taskSets == null) {
            setTaskSets(new com.amazonaws.internal.SdkInternalList<TaskSet>(taskSets.length));
        }
        for (TaskSet ele : taskSets) {
            this.taskSets.add(ele);
        }
        return this;
    }
<p>
The list of task sets described.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTaskSets(java.util.Collection)} or {@link #withTaskSets(java.util.Collection)} if you want to override
the existing values.
</p>

@param taskSets
       The list of task sets described.
@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/DescribeTaskSetsResult.java