public void setResourceRequirements(java.util.Collection<ResourceRequirement> resourceRequirements) {
        if (resourceRequirements == null) {
            this.resourceRequirements = null;
            return;
        }

        this.resourceRequirements = new java.util.ArrayList<ResourceRequirement>(resourceRequirements);
    }
<p>
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
</p>

@param resourceRequirements
       The type and amount of a resource to assign to a container. The only supported resource is a GPU.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/TaskContainerProperties.java