Class KendraConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.KendraConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KendraConfiguration.Builder,KendraConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class KendraConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KendraConfiguration.Builder,KendraConfiguration>
Provides configuration information for the
AMAZON.KendraSearchIntentintent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKendraConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KendraConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkendraIndex()The Amazon Resource Name (ARN) of the Amazon Kendra index that you want theAMAZON.KendraSearchIntentintent to search.StringqueryFilterString()A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.BooleanqueryFilterStringEnabled()Determines whether theAMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index.List<SdkField<?>>sdkFields()static Class<? extends KendraConfiguration.Builder>serializableBuilderClass()KendraConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
kendraIndex
public final String kendraIndex()
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
AMAZON.KendraSearchIntentintent to search. The index must be in the same account and Region as the Amazon Lex bot.- Returns:
- The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
AMAZON.KendraSearchIntentintent to search. The index must be in the same account and Region as the Amazon Lex bot.
-
queryFilterStringEnabled
public final Boolean queryFilterStringEnabled()
Determines whether the
AMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index.- Returns:
- Determines whether the
AMAZON.KendraSearchIntentintent uses a custom query string to query the Amazon Kendra index.
-
queryFilterString
public final String queryFilterString()
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
- Returns:
- A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
-
toBuilder
public KendraConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KendraConfiguration.Builder,KendraConfiguration>
-
builder
public static KendraConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends KendraConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-