@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateQuerySuggestionsConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateQuerySuggestionsConfigRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateQuerySuggestionsConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AttributeSuggestionsUpdateConfig |
getAttributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
Boolean |
getIncludeQueriesWithoutUserInformation()
TRUE to include queries without user information (i.e. |
String |
getIndexId()
The identifier of the index with query suggestions you want to update.
|
Integer |
getMinimumNumberOfQueryingUsers()
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to
your users.
|
Integer |
getMinimumQueryCount()
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
|
String |
getMode()
Set the mode to
ENABLED or LEARN_ONLY . |
Integer |
getQueryLogLookBackWindowInDays()
How recent your queries are in your query log time window.
|
int |
hashCode() |
Boolean |
isIncludeQueriesWithoutUserInformation()
TRUE to include queries without user information (i.e. |
void |
setAttributeSuggestionsConfig(AttributeSuggestionsUpdateConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
void |
setIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE to include queries without user information (i.e. |
void |
setIndexId(String indexId)
The identifier of the index with query suggestions you want to update.
|
void |
setMinimumNumberOfQueryingUsers(Integer minimumNumberOfQueryingUsers)
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to
your users.
|
void |
setMinimumQueryCount(Integer minimumQueryCount)
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
|
void |
setMode(String mode)
Set the mode to
ENABLED or LEARN_ONLY . |
void |
setQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window.
|
String |
toString()
Returns a string representation of this object.
|
UpdateQuerySuggestionsConfigRequest |
withAttributeSuggestionsConfig(AttributeSuggestionsUpdateConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
UpdateQuerySuggestionsConfigRequest |
withIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE to include queries without user information (i.e. |
UpdateQuerySuggestionsConfigRequest |
withIndexId(String indexId)
The identifier of the index with query suggestions you want to update.
|
UpdateQuerySuggestionsConfigRequest |
withMinimumNumberOfQueryingUsers(Integer minimumNumberOfQueryingUsers)
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to
your users.
|
UpdateQuerySuggestionsConfigRequest |
withMinimumQueryCount(Integer minimumQueryCount)
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
|
UpdateQuerySuggestionsConfigRequest |
withMode(Mode mode)
Set the mode to
ENABLED or LEARN_ONLY . |
UpdateQuerySuggestionsConfigRequest |
withMode(String mode)
Set the mode to
ENABLED or LEARN_ONLY . |
UpdateQuerySuggestionsConfigRequest |
withQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIndexId(String indexId)
The identifier of the index with query suggestions you want to update.
indexId
- The identifier of the index with query suggestions you want to update.public String getIndexId()
The identifier of the index with query suggestions you want to update.
public UpdateQuerySuggestionsConfigRequest withIndexId(String indexId)
The identifier of the index with query suggestions you want to update.
indexId
- The identifier of the index with query suggestions you want to update.public void setMode(String mode)
Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off query
suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date
for when you are ready to switch to ENABLED mode again.
mode
- Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off
query suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up
to date for when you are ready to switch to ENABLED mode again.
Mode
public String getMode()
Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off query
suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date
for when you are ready to switch to ENABLED mode again.
ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off
query suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up
to date for when you are ready to switch to ENABLED mode again.
Mode
public UpdateQuerySuggestionsConfigRequest withMode(String mode)
Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off query
suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date
for when you are ready to switch to ENABLED mode again.
mode
- Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off
query suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up
to date for when you are ready to switch to ENABLED mode again.
Mode
public UpdateQuerySuggestionsConfigRequest withMode(Mode mode)
Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off query
suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date
for when you are ready to switch to ENABLED mode again.
mode
- Set the mode to ENABLED
or LEARN_ONLY
.
By default, Amazon Kendra enables query suggestions. LEARN_ONLY
mode allows you to turn off
query suggestions. You can to update this at any time.
In LEARN_ONLY
mode, Amazon Kendra continues to learn from new queries to keep suggestions up
to date for when you are ready to switch to ENABLED mode again.
Mode
public void setQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
queryLogLookBackWindowInDays
- How recent your queries are in your query log time window.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
public Integer getQueryLogLookBackWindowInDays()
How recent your queries are in your query log time window.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
public UpdateQuerySuggestionsConfigRequest withQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
queryLogLookBackWindowInDays
- How recent your queries are in your query log time window.
The time window is the number of days from current day to past days.
By default, Amazon Kendra sets this to 180.
public void setIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE
to include queries without user information (i.e. all queries, irrespective of the user),
otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
includeQueriesWithoutUserInformation
- TRUE
to include queries without user information (i.e. all queries, irrespective of the
user), otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to
FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
public Boolean getIncludeQueriesWithoutUserInformation()
TRUE
to include queries without user information (i.e. all queries, irrespective of the user),
otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
TRUE
to include queries without user information (i.e. all queries, irrespective of the
user), otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to
FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
public UpdateQuerySuggestionsConfigRequest withIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE
to include queries without user information (i.e. all queries, irrespective of the user),
otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
includeQueriesWithoutUserInformation
- TRUE
to include queries without user information (i.e. all queries, irrespective of the
user), otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to
FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
public Boolean isIncludeQueriesWithoutUserInformation()
TRUE
to include queries without user information (i.e. all queries, irrespective of the user),
otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
TRUE
to include queries without user information (i.e. all queries, irrespective of the
user), otherwise FALSE
to only include queries with user information.
If you pass user information to Amazon Kendra along with the queries, you can set this flag to
FALSE
and instruct Amazon Kendra to only consider queries with user information.
If you set to FALSE
, Amazon Kendra only considers queries searched at least
MinimumQueryCount
times across MinimumNumberOfQueryingUsers
unique users for
suggestions.
If you set to TRUE
, Amazon Kendra ignores all user information and learns from all queries.
public void setMinimumNumberOfQueryingUsers(Integer minimumNumberOfQueryingUsers)
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
minimumNumberOfQueryingUsers
- The minimum number of unique users who must search a query in order for the query to be eligible to
suggest to your users.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
public Integer getMinimumNumberOfQueryingUsers()
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
public UpdateQuerySuggestionsConfigRequest withMinimumNumberOfQueryingUsers(Integer minimumNumberOfQueryingUsers)
The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
minimumNumberOfQueryingUsers
- The minimum number of unique users who must search a query in order for the query to be eligible to
suggest to your users.
Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.
How you tune this setting depends on your specific needs.
public void setMinimumQueryCount(Integer minimumQueryCount)
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
minimumQueryCount
- The the minimum number of times a query must be searched in order to be eligible to suggest to your
users.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
public Integer getMinimumQueryCount()
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
public UpdateQuerySuggestionsConfigRequest withMinimumQueryCount(Integer minimumQueryCount)
The the minimum number of times a query must be searched in order to be eligible to suggest to your users.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
minimumQueryCount
- The the minimum number of times a query must be searched in order to be eligible to suggest to your
users.
Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.
How you tune this setting depends on your specific needs.
public void setAttributeSuggestionsConfig(AttributeSuggestionsUpdateConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
attributeSuggestionsConfig
- Configuration information for the document fields/attributes that you want to base query suggestions on.public AttributeSuggestionsUpdateConfig getAttributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
public UpdateQuerySuggestionsConfigRequest withAttributeSuggestionsConfig(AttributeSuggestionsUpdateConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
attributeSuggestionsConfig
- Configuration information for the document fields/attributes that you want to base query suggestions on.public String toString()
toString
in class Object
Object.toString()
public UpdateQuerySuggestionsConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()