public void setTaskSets(java.util.Collection<TaskSet> taskSets) {
        if (taskSets == null) {
            this.taskSets = null;
            return;
        }

        this.taskSets = new com.amazonaws.internal.SdkInternalList<TaskSet>(taskSets);
    }
<p>
The list of task sets described.
</p>

@param taskSets
       The list of task sets described.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DescribeTaskSetsResult.java