code: public TargetGroupsConfig withTargetGroups(TargetGroup... targetGroups) {
          if (this.targetGroups == null) {
              setTargetGroups(new com.amazonaws.internal.SdkInternalList<TargetGroup>(targetGroups.length));
          }
          for (TargetGroup ele : targetGroups) {
              this.targetGroups.add(ele);
          }
          return this;
      }
docs: <p>
  One or more target groups.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTargetGroups(java.util.Collection)} or {@link #withTargetGroups(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param targetGroups
  One or more target groups.
  @return Returns a reference to this object so that method calls can be chained together.