public ContainerOverrides withResourceRequirements(java.util.Collection<ResourceRequirement> resourceRequirements) {
        setResourceRequirements(resourceRequirements);
        return this;
    }
<p>
The type and amount of resources to assign to a container. This overrides the settings in the job definition. The
supported resources include <code>GPU</code>, <code>MEMORY</code>, and <code>VCPU</code>.
</p>

@param resourceRequirements
       The type and amount of resources to assign to a container. This overrides the settings in the job
       definition. The supported resources include <code>GPU</code>, <code>MEMORY</code>, and <code>VCPU</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/ContainerOverrides.java