public AttributeSuggestionsGetConfig withUserContext(UserContext userContext) {
        setUserContext(userContext);
        return this;
    }
<p>
Applies user context filtering so that only users who are given access to certain documents see these document in
their search results.
</p>

@param userContext
       Applies user context filtering so that only users who are given access to certain documents see these
       document in their search results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/AttributeSuggestionsGetConfig.java