public GetApplicationResult withTargetGroupArns(String... targetGroupArns) {
        if (this.targetGroupArns == null) {
            setTargetGroupArns(new java.util.ArrayList<String>(targetGroupArns.length));
        }
        for (String ele : targetGroupArns) {
            this.targetGroupArns.add(ele);
        }
        return this;
    }
<p>
Returns the Amazon Resource Names (ARNs) of the target groups that are attached to the network load balancer.
</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
       Returns the Amazon Resource Names (ARNs) of the target groups that are attached to the network load
       balancer.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/GetApplicationResult.java