public TargetGroupSummary withServiceArns(String... serviceArns) {
        if (this.serviceArns == null) {
            setServiceArns(new java.util.ArrayList<String>(serviceArns.length));
        }
        for (String ele : serviceArns) {
            this.serviceArns.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Names (ARNs) of the service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceArns(java.util.Collection)} or {@link #withServiceArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param serviceArns
       The Amazon Resource Names (ARNs) of the service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/TargetGroupSummary.java