public CreateAutoScalingGroupRequest withTargetGroupARNs(String... targetGroupARNs) {
        if (this.targetGroupARNs == null) {
            setTargetGroupARNs(new com.amazonaws.internal.SdkInternalList<String>(targetGroupARNs.length));
        }
        for (String ele : targetGroupARNs) {
            this.targetGroupARNs.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling
group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and
route requests to one or more registered targets. For more information, see <a
href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic Load
Balancing to distribute traffic across the instances in your Auto Scaling group</a> in the <i>Amazon EC2 Auto
Scaling User Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetGroupARNs(java.util.Collection)} or {@link #withTargetGroupARNs(java.util.Collection)} if you
want to override the existing values.
</p>

@param targetGroupARNs
       The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto
       Scaling group. Instances are registered as targets with the target groups. The target groups receive
       incoming traffic and route requests to one or more registered targets. For more information, see <a
       href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html">Use Elastic
       Load Balancing to distribute traffic across the instances in your Auto Scaling group</a> in the <i>Amazon
       EC2 Auto Scaling User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/CreateAutoScalingGroupRequest.java