public ListAccountLinksRequest withLinkStatusFilter(AccountLinkStatusEnum... linkStatusFilter) {
        com.amazonaws.internal.SdkInternalList<String> linkStatusFilterCopy = new com.amazonaws.internal.SdkInternalList<String>(linkStatusFilter.length);
        for (AccountLinkStatusEnum value : linkStatusFilter) {
            linkStatusFilterCopy.add(value.toString());
        }
        if (getLinkStatusFilter() == null) {
            setLinkStatusFilter(linkStatusFilterCopy);
        } else {
            getLinkStatusFilter().addAll(linkStatusFilterCopy);
        }
        return this;
    }
<p>
Filters the account based on their link status.
</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