public java.util.List<ResourceRequirement> getResourceRequirements() {
        if (resourceRequirements == null) {
            resourceRequirements = new com.amazonaws.internal.SdkInternalList<ResourceRequirement>();
        }
        return resourceRequirements;
    }
public java . util . List < ResourceRequirement > getResourceRequirements ( ) { if ( resourceRequirements == null ) { resourceRequirements = new com . amazonaws . internal . SdkInternalList < ResourceRequirement > ( ) ; } return resourceRequirements ; }
<p>
The type and amount of a resource to assign to a container. The only supported resource is a GPU.
</p>

@return The type and amount of a resource to assign to a container. The only supported resource is a GPU.