code: public void setResourceRequirements(java.util.Collection<ResourceRequirement> resourceRequirements) {
          if (resourceRequirements == null) {
              this.resourceRequirements = null;
              return;
          }
  
          this.resourceRequirements = new com.amazonaws.internal.SdkInternalList<ResourceRequirement>(resourceRequirements);
      }
docs: <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.