code: public void setCompatibilities(java.util.Collection<String> compatibilities) {
          if (compatibilities == null) {
              this.compatibilities = null;
              return;
          }
  
          this.compatibilities = new com.amazonaws.internal.SdkInternalList<String>(compatibilities);
      }
docs: <p>
  The launch type to use with your task. For more information, see <a
  href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon ECS Launch Types</a>
  in the <i>Amazon Elastic Container Service Developer Guide</i>.
  </p>
  
  @param compatibilities
  The launch type to use with your task. For more information, see <a
  href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon ECS Launch
  Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
  @see Compatibility