code: public LoadBalancerInfo withTargetGroupInfoList(TargetGroupInfo... targetGroupInfoList) {
          if (this.targetGroupInfoList == null) {
              setTargetGroupInfoList(new com.amazonaws.internal.SdkInternalList<TargetGroupInfo>(targetGroupInfoList.length));
          }
          for (TargetGroupInfo ele : targetGroupInfoList) {
              this.targetGroupInfoList.add(ele);
          }
          return this;
      }
docs: <p>
  An array that contains information about the target group to use for load balancing in a deployment. In Elastic
  Load Balancing, target groups are used with Application Load Balancers.
  </p>
  <note>
  <p>
  Adding more than one target group to the array is not supported.
  </p>
  </note>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTargetGroupInfoList(java.util.Collection)} or {@link #withTargetGroupInfoList(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param targetGroupInfoList
  An array that contains information about the target group to use for load balancing in a deployment. In
  Elastic Load Balancing, target groups are used with Application Load Balancers.</p> <note>
  <p>
  Adding more than one target group to the array is not supported.
  </p>
  @return Returns a reference to this object so that method calls can be chained together.