@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 |
|---|---|
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()
Shows whether Amazon Kendra uses all queries or only uses queries that include user information to generate query
suggestions.
|
Instant |
lastClearTime()
Shows the date-time query suggestions for an index was last cleared.
|
Instant |
lastSuggestionsBuildTime()
Shows the date-time query suggestions for an index was last updated.
|
Integer |
minimumNumberOfQueryingUsers()
Shows 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()
Shows 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()
Shows whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
String |
modeAsString()
Shows whether query suggestions are currently in
ENABLED mode or LEARN_ONLY mode. |
Integer |
queryLogLookBackWindowInDays()
Shows how recent your queries are in your query log time window (in days).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeQuerySuggestionsConfigResponse.Builder> |
serializableBuilderClass() |
QuerySuggestionsStatus |
status()
Shows whether the status of query suggestions settings is currently Active or Updating.
|
String |
statusAsString()
Shows 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()
Shows the current total count of query suggestions for an index.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Mode mode()
Shows 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 operation.
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 operation.
Modepublic final String modeAsString()
Shows 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 operation.
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 operation.
Modepublic final QuerySuggestionsStatus status()
Shows 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 means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatuspublic final String statusAsString()
Shows 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 means the current settings apply and Updating means your changed settings are in the process of applying.
QuerySuggestionsStatuspublic final Integer queryLogLookBackWindowInDays()
Shows how recent your queries are in your query log time window (in days).
public final Boolean includeQueriesWithoutUserInformation()
Shows whether Amazon Kendra uses all queries or only uses queries that include user information to generate query suggestions.
public final Integer minimumNumberOfQueryingUsers()
Shows 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()
Shows 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()
Shows the date-time query suggestions for an index was last updated.
public final Instant lastClearTime()
Shows the date-time 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()
Shows 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.
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.
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 © 2021. All rights reserved.