public void setContainerDefinitions(java.util.Collection<AwsEcsTaskDefinitionContainerDefinitionsDetails> containerDefinitions) {
        if (containerDefinitions == null) {
            this.containerDefinitions = null;
            return;
        }

        this.containerDefinitions = new java.util.ArrayList<AwsEcsTaskDefinitionContainerDefinitionsDetails>(containerDefinitions);
    }
<p>
The container definitions that describe the containers that make up the task.
</p>

@param containerDefinitions
       The container definitions that describe the containers that make up the task.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java