Class KendraConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.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.KendraSearchIntent intent. 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. For more information, see AMAZON.KendraSearchIntent.
- 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 the AMAZON.KendraSearchIntent intent to search.StringqueryFilterString()A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query.Stringrole()The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index.Map<String,SdkField<?>>sdkFieldNameToField()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.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot. If the Amazon Kendra index does not exist, you get an exception when you call the
PutIntentoperation.- Returns:
- The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent
intent to search. The index must be in the same account and Region as the Amazon Lex bot. If the Amazon
Kendra index does not exist, you get an exception when you call the
PutIntentoperation.
-
queryFilterString
public final String queryFilterString()
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
You can override this filter string with a new filter string at runtime.
- Returns:
- A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. The filter
is in the format defined by Amazon Kendra. For more information, see Filtering queries.
You can override this filter string with a new filter string at runtime.
-
role
public final String role()
The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index. The role must be in the same account and Region as the Amazon Lex bot. If the role does not exist, you get an exception when you call the
PutIntentoperation.- Returns:
- The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index. The
role must be in the same account and Region as the Amazon Lex bot. If the role does not exist, you get an
exception when you call the
PutIntentoperation.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-