code: public void setRequiresAttributes(java.util.Collection<Attribute> requiresAttributes) {
          if (requiresAttributes == null) {
              this.requiresAttributes = null;
              return;
          }
  
          this.requiresAttributes = new com.amazonaws.internal.SdkInternalList<Attribute>(requiresAttributes);
      }
docs: <p>
  The container instance attributes required by your task. This field is not valid if you are using the Fargate
  launch type for your task.
  </p>
  
  @param requiresAttributes
  The container instance attributes required by your task. This field is not valid if you are using the
  Fargate launch type for your task.