@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KendraConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
KendraConfiguration() |
Modifier and Type | Method and Description |
---|---|
KendraConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKendraIndex()
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to
search.
|
String |
getQueryFilterString()
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
|
Boolean |
getQueryFilterStringEnabled()
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra
index.
|
int |
hashCode() |
Boolean |
isQueryFilterStringEnabled()
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra
index.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKendraIndex(String kendraIndex)
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to
search.
|
void |
setQueryFilterString(String queryFilterString)
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
|
void |
setQueryFilterStringEnabled(Boolean queryFilterStringEnabled)
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra
index.
|
String |
toString()
Returns a string representation of this object.
|
KendraConfiguration |
withKendraIndex(String kendraIndex)
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to
search.
|
KendraConfiguration |
withQueryFilterString(String queryFilterString)
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
|
KendraConfiguration |
withQueryFilterStringEnabled(Boolean queryFilterStringEnabled)
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra
index.
|
public void setKendraIndex(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.
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.public String getKendraIndex()
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.
public KendraConfiguration withKendraIndex(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.
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.public void setQueryFilterStringEnabled(Boolean queryFilterStringEnabled)
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
queryFilterStringEnabled
- Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon
Kendra index.public Boolean getQueryFilterStringEnabled()
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
public KendraConfiguration withQueryFilterStringEnabled(Boolean queryFilterStringEnabled)
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
queryFilterStringEnabled
- Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon
Kendra index.public Boolean isQueryFilterStringEnabled()
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
public void setQueryFilterString(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.
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.public String getQueryFilterString()
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.
public KendraConfiguration withQueryFilterString(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.
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.public String toString()
toString
in class Object
Object.toString()
public KendraConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.