public EcsContainerOverride withResourceRequirements(java.util.Collection<EcsResourceRequirement> resourceRequirements) {
        setResourceRequirements(resourceRequirements);
        return this;
    }
<p>
The type and amount of a resource to assign to a container, instead of the default value from the task
definition. The only supported resource is a GPU.
</p>

@param resourceRequirements
       The type and amount of a resource to assign to a container, instead of the default value from the task
       definition. The only supported resource is a GPU.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/EcsContainerOverride.java