code: public void setResourceRequirements(java.util.Collection<ResourceRequirement> resourceRequirements) {
          if (resourceRequirements == null) {
              this.resourceRequirements = null;
              return;
          }
  
          this.resourceRequirements = new java.util.ArrayList<ResourceRequirement>(resourceRequirements);
      }
docs: <p>
  The type and amount of a resource to assign to a container. This value overrides the value set in the job
  definition. Currently, the only supported resource is <code>GPU</code>.
  </p>
  
  @param resourceRequirements
  The type and amount of a resource to assign to a container. This value overrides the value set in the job
  definition. Currently, the only supported resource is <code>GPU</code>.