public ListAccountLinksRequest withLinkStatusFilter(String... linkStatusFilter) {
        if (this.linkStatusFilter == null) {
            setLinkStatusFilter(new com.amazonaws.internal.SdkInternalList<String>(linkStatusFilter.length));
        }
        for (String ele : linkStatusFilter) {
            this.linkStatusFilter.add(ele);
        }
        return this;
    }
<p>
Filters the account based on their link status.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLinkStatusFilter(java.util.Collection)} or {@link #withLinkStatusFilter(java.util.Collection)} if you
want to override the existing values.
</p>

@param linkStatusFilter
       Filters the account based on their link status.
@return Returns a reference to this object so that method calls can be chained together.
@see AccountLinkStatusEnum
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/ListAccountLinksRequest.java