public void setContainers(java.util.Collection<TaskContainerProperties> containers) {
        if (containers == null) {
            this.containers = null;
            return;
        }

        this.containers = new java.util.ArrayList<TaskContainerProperties>(containers);
    }
<p>
This object is a list of containers.
</p>

@param containers
       This object is a list of containers.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EcsTaskProperties.java