public GetLinksRequest withLinkIds(String... linkIds) {
        if (this.linkIds == null) {
            setLinkIds(new java.util.ArrayList<String>(linkIds.length));
        }
        for (String ele : linkIds) {
            this.linkIds.add(ele);
        }
        return this;
    }
<p>
One or more link IDs. The maximum is 10.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLinkIds(java.util.Collection)} or {@link #withLinkIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param linkIds
       One or more link IDs. The maximum is 10.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetLinksRequest.java