@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeQuerySuggestionsConfigResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeQuerySuggestionsConfigResult() |
Modifier and Type | Method and Description |
---|---|
DescribeQuerySuggestionsConfigResult |
clone() |
boolean |
equals(Object obj) |
AttributeSuggestionsDescribeConfig |
getAttributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
Boolean |
getIncludeQueriesWithoutUserInformation()
TRUE to use all queries, otherwise use only queries that include user information to generate the
query suggestions. |
Date |
getLastClearTime()
The Unix timestamp when query suggestions for an index was last cleared.
|
Date |
getLastSuggestionsBuildTime()
The Unix timestamp when query suggestions for an index was last updated.
|
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 minimum number of times a query must be searched in order for the query to be eligible to suggest to your
users.
|
String |
getMode()
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
Integer |
getQueryLogLookBackWindowInDays()
How recent your queries are in your query log time window (in days).
|
String |
getStatus()
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING . |
Integer |
getTotalSuggestionsCount()
The current total count of query suggestions for an index.
|
int |
hashCode() |
Boolean |
isIncludeQueriesWithoutUserInformation()
TRUE to use all queries, otherwise use only queries that include user information to generate the
query suggestions. |
void |
setAttributeSuggestionsConfig(AttributeSuggestionsDescribeConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
void |
setIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE to use all queries, otherwise use only queries that include user information to generate the
query suggestions. |
void |
setLastClearTime(Date lastClearTime)
The Unix timestamp when query suggestions for an index was last cleared.
|
void |
setLastSuggestionsBuildTime(Date lastSuggestionsBuildTime)
The Unix timestamp when query suggestions for an index was last updated.
|
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 minimum number of times a query must be searched in order for the query to be eligible to suggest to your
users.
|
void |
setMode(String mode)
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
void |
setQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window (in days).
|
void |
setStatus(String status)
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING . |
void |
setTotalSuggestionsCount(Integer totalSuggestionsCount)
The current total count of query suggestions for an index.
|
String |
toString()
Returns a string representation of this object.
|
DescribeQuerySuggestionsConfigResult |
withAttributeSuggestionsConfig(AttributeSuggestionsDescribeConfig attributeSuggestionsConfig)
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
DescribeQuerySuggestionsConfigResult |
withIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE to use all queries, otherwise use only queries that include user information to generate the
query suggestions. |
DescribeQuerySuggestionsConfigResult |
withLastClearTime(Date lastClearTime)
The Unix timestamp when query suggestions for an index was last cleared.
|
DescribeQuerySuggestionsConfigResult |
withLastSuggestionsBuildTime(Date lastSuggestionsBuildTime)
The Unix timestamp when query suggestions for an index was last updated.
|
DescribeQuerySuggestionsConfigResult |
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.
|
DescribeQuerySuggestionsConfigResult |
withMinimumQueryCount(Integer minimumQueryCount)
The minimum number of times a query must be searched in order for the query to be eligible to suggest to your
users.
|
DescribeQuerySuggestionsConfigResult |
withMode(Mode mode)
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
DescribeQuerySuggestionsConfigResult |
withMode(String mode)
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
DescribeQuerySuggestionsConfigResult |
withQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window (in days).
|
DescribeQuerySuggestionsConfigResult |
withStatus(QuerySuggestionsStatus status)
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING . |
DescribeQuerySuggestionsConfigResult |
withStatus(String status)
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING . |
DescribeQuerySuggestionsConfigResult |
withTotalSuggestionsCount(Integer totalSuggestionsCount)
The current total count of query suggestions for an index.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeQuerySuggestionsConfigResult()
public void setMode(String mode)
Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions for your
users. You can change the mode using the UpdateQuerySuggestionsConfig API.
mode
- Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions
for your users. You can change the mode using the UpdateQuerySuggestionsConfig API.
Mode
public String getMode()
Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions for your
users. You can change the mode using the UpdateQuerySuggestionsConfig API.
ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions
for your users. You can change the mode using the UpdateQuerySuggestionsConfig API.
Mode
public DescribeQuerySuggestionsConfigResult withMode(String mode)
Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions for your
users. You can change the mode using the UpdateQuerySuggestionsConfig API.
mode
- Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions
for your users. You can change the mode using the UpdateQuerySuggestionsConfig API.
Mode
public DescribeQuerySuggestionsConfigResult withMode(Mode mode)
Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions for your
users. You can change the mode using the UpdateQuerySuggestionsConfig API.
mode
- Whether query suggestions are currently in ENABLED
mode or LEARN_ONLY
mode.
By default, Amazon Kendra enables query suggestions.LEARN_ONLY
turns off query suggestions
for your users. You can change the mode using the UpdateQuerySuggestionsConfig API.
Mode
public void setStatus(String status)
Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
status
- Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatus
public String getStatus()
Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
ACTIVE
or
UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatus
public DescribeQuerySuggestionsConfigResult withStatus(String status)
Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
status
- Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatus
public DescribeQuerySuggestionsConfigResult withStatus(QuerySuggestionsStatus status)
Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
status
- Whether the status of query suggestions settings is currently ACTIVE
or UPDATING
.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatus
public void setQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window (in days).
queryLogLookBackWindowInDays
- How recent your queries are in your query log time window (in days).public Integer getQueryLogLookBackWindowInDays()
How recent your queries are in your query log time window (in days).
public DescribeQuerySuggestionsConfigResult withQueryLogLookBackWindowInDays(Integer queryLogLookBackWindowInDays)
How recent your queries are in your query log time window (in days).
queryLogLookBackWindowInDays
- How recent your queries are in your query log time window (in days).public void setIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE
to use all queries, otherwise use only queries that include user information to generate the
query suggestions.
includeQueriesWithoutUserInformation
- TRUE
to use all queries, otherwise use only queries that include user information to generate
the query suggestions.public Boolean getIncludeQueriesWithoutUserInformation()
TRUE
to use all queries, otherwise use only queries that include user information to generate the
query suggestions.
TRUE
to use all queries, otherwise use only queries that include user information to
generate the query suggestions.public DescribeQuerySuggestionsConfigResult withIncludeQueriesWithoutUserInformation(Boolean includeQueriesWithoutUserInformation)
TRUE
to use all queries, otherwise use only queries that include user information to generate the
query suggestions.
includeQueriesWithoutUserInformation
- TRUE
to use all queries, otherwise use only queries that include user information to generate
the query suggestions.public Boolean isIncludeQueriesWithoutUserInformation()
TRUE
to use all queries, otherwise use only queries that include user information to generate the
query suggestions.
TRUE
to use all queries, otherwise use only queries that include user information to
generate the query suggestions.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.
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.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.
public DescribeQuerySuggestionsConfigResult 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.
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.public void setMinimumQueryCount(Integer minimumQueryCount)
The minimum number of times a query must be searched in order for the query to be eligible to suggest to your users.
minimumQueryCount
- The minimum number of times a query must be searched in order for the query to be eligible to suggest to
your users.public Integer getMinimumQueryCount()
The minimum number of times a query must be searched in order for the query to be eligible to suggest to your users.
public DescribeQuerySuggestionsConfigResult withMinimumQueryCount(Integer minimumQueryCount)
The minimum number of times a query must be searched in order for the query to be eligible to suggest to your users.
minimumQueryCount
- The minimum number of times a query must be searched in order for the query to be eligible to suggest to
your users.public void setLastSuggestionsBuildTime(Date lastSuggestionsBuildTime)
The Unix timestamp when query suggestions for an index was last updated.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
lastSuggestionsBuildTime
- The Unix timestamp when query suggestions for an index was last updated.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
public Date getLastSuggestionsBuildTime()
The Unix timestamp when query suggestions for an index was last updated.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
public DescribeQuerySuggestionsConfigResult withLastSuggestionsBuildTime(Date lastSuggestionsBuildTime)
The Unix timestamp when query suggestions for an index was last updated.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
lastSuggestionsBuildTime
- The Unix timestamp when query suggestions for an index was last updated.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
public void setLastClearTime(Date lastClearTime)
The Unix timestamp when query suggestions for an index was last cleared.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
lastClearTime
- The Unix timestamp when query suggestions for an index was last cleared.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
public Date getLastClearTime()
The Unix timestamp when query suggestions for an index was last cleared.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
public DescribeQuerySuggestionsConfigResult withLastClearTime(Date lastClearTime)
The Unix timestamp when query suggestions for an index was last cleared.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
lastClearTime
- The Unix timestamp when query suggestions for an index was last cleared.
After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.
public void setTotalSuggestionsCount(Integer totalSuggestionsCount)
The current total count of query suggestions for an index.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
totalSuggestionsCount
- The current total count of query suggestions for an index.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
public Integer getTotalSuggestionsCount()
The current total count of query suggestions for an index.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
public DescribeQuerySuggestionsConfigResult withTotalSuggestionsCount(Integer totalSuggestionsCount)
The current total count of query suggestions for an index.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
totalSuggestionsCount
- The current total count of query suggestions for an index.
This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.
If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.
public void setAttributeSuggestionsConfig(AttributeSuggestionsDescribeConfig 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 AttributeSuggestionsDescribeConfig getAttributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
public DescribeQuerySuggestionsConfigResult withAttributeSuggestionsConfig(AttributeSuggestionsDescribeConfig 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 DescribeQuerySuggestionsConfigResult clone()