public LdapServerMetadataInput withRoleSearchMatching(String roleSearchMatching) {
        setRoleSearchMatching(roleSearchMatching);
        return this;
    }
<p>
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by
userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is
substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user
janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries
that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
</p>

@param roleSearchMatching
       The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched
       by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username
       is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the
       user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all
       role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/LdapServerMetadataInput.java