| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
UserContext |
UserContext.clone() |
UserContext |
AttributeSuggestionsGetConfig.getUserContext()
Applies user context filtering so that only users who are given access to certain documents see these document in
their search results.
|
UserContext |
QueryRequest.getUserContext()
The user context token or user and group information.
|
UserContext |
RetrieveRequest.getUserContext()
The user context token or user and group information.
|
UserContext |
UserContext.withDataSourceGroups(Collection<DataSourceGroup> dataSourceGroups)
The list of data source groups you want to filter search results based on groups' access to documents in that
data source.
|
UserContext |
UserContext.withDataSourceGroups(DataSourceGroup... dataSourceGroups)
The list of data source groups you want to filter search results based on groups' access to documents in that
data source.
|
UserContext |
UserContext.withGroups(Collection<String> groups)
The list of groups you want to filter search results based on the groups' access to documents.
|
UserContext |
UserContext.withGroups(String... groups)
The list of groups you want to filter search results based on the groups' access to documents.
|
UserContext |
UserContext.withToken(String token)
The user context token for filtering search results for a user.
|
UserContext |
UserContext.withUserId(String userId)
The identifier of the user you want to filter search results based on their access to documents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AttributeSuggestionsGetConfig.setUserContext(UserContext userContext)
Applies user context filtering so that only users who are given access to certain documents see these document in
their search results.
|
void |
QueryRequest.setUserContext(UserContext userContext)
The user context token or user and group information.
|
void |
RetrieveRequest.setUserContext(UserContext userContext)
The user context token or user and group information.
|
AttributeSuggestionsGetConfig |
AttributeSuggestionsGetConfig.withUserContext(UserContext userContext)
Applies user context filtering so that only users who are given access to certain documents see these document in
their search results.
|
QueryRequest |
QueryRequest.withUserContext(UserContext userContext)
The user context token or user and group information.
|
RetrieveRequest |
RetrieveRequest.withUserContext(UserContext userContext)
The user context token or user and group information.
|
Copyright © 2023. All rights reserved.