@Generated(value="software.amazon.awssdk:codegen") public final class DescribeQuerySuggestionsConfigResponse extends KendraResponse implements ToCopyableBuilder<DescribeQuerySuggestionsConfigResponse.Builder,DescribeQuerySuggestionsConfigResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeQuerySuggestionsConfigResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AttributeSuggestionsDescribeConfig |
attributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
|
static DescribeQuerySuggestionsConfigResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeQueriesWithoutUserInformation()
TRUE to use all queries, otherwise use only queries that include user information to generate the
query suggestions. |
Instant |
lastClearTime()
The Unix timestamp when query suggestions for an index was last cleared.
|
Instant |
lastSuggestionsBuildTime()
The Unix timestamp when query suggestions for an index was last updated.
|
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.
|
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.
|
Mode |
mode()
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
String |
modeAsString()
Whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
Integer |
queryLogLookBackWindowInDays()
How recent your queries are in your query log time window (in days).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeQuerySuggestionsConfigResponse.Builder> |
serializableBuilderClass() |
QuerySuggestionsStatus |
status()
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING. |
String |
statusAsString()
Whether the status of query suggestions settings is currently
ACTIVE or UPDATING. |
DescribeQuerySuggestionsConfigResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalSuggestionsCount()
The current total count of query suggestions for an index.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
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.
Modepublic final String modeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, mode will return
Mode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
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.
Modepublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return QuerySuggestionsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE or
UPDATING.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return QuerySuggestionsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE or
UPDATING.
Active means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatuspublic final Integer queryLogLookBackWindowInDays()
How recent your queries are in your query log time window (in days).
public final Boolean includeQueriesWithoutUserInformation()
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 final 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.
public final 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.
public final Instant 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.
Amazon Kendra automatically updates suggestions every 24 hours, after you change a setting or after you apply a block list.
public final Instant 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.
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 final 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.
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 final AttributeSuggestionsDescribeConfig attributeSuggestionsConfig()
Configuration information for the document fields/attributes that you want to base query suggestions on.
public DescribeQuerySuggestionsConfigResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeQuerySuggestionsConfigResponse.Builder,DescribeQuerySuggestionsConfigResponse>toBuilder in class AwsResponsepublic static DescribeQuerySuggestionsConfigResponse.Builder builder()
public static Class<? extends DescribeQuerySuggestionsConfigResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.