Class DataSourceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.DataSourceConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
Contains details about the configuration of the knowledge store used for the
AMAZON.QnAIntent. You must have already created the knowledge store and indexed the documents within it.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BedrockKnowledgeStoreConfigurationbedrockKnowledgeStoreConfiguration()Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent.static DataSourceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()QnAKendraConfigurationkendraConfiguration()Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent.OpensearchConfigurationopensearchConfiguration()Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent.List<SdkField<?>>sdkFields()static Class<? extends DataSourceConfiguration.Builder>serializableBuilderClass()DataSourceConfiguration.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
-
opensearchConfiguration
public final OpensearchConfiguration opensearchConfiguration()
Contains details about the configuration of the Amazon OpenSearch Service database used for the
AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.- Returns:
- Contains details about the configuration of the Amazon OpenSearch Service database used for the
AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
-
kendraConfiguration
public final QnAKendraConfiguration kendraConfiguration()
Contains details about the configuration of the Amazon Kendra index used for the
AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.- Returns:
- Contains details about the configuration of the Amazon Kendra index used for the
AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.
-
bedrockKnowledgeStoreConfiguration
public final BedrockKnowledgeStoreConfiguration bedrockKnowledgeStoreConfiguration()
Contains details about the configuration of the Amazon Bedrock knowledge base used for the
AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.- Returns:
- Contains details about the configuration of the Amazon Bedrock knowledge base used for the
AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.
-
toBuilder
public DataSourceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
-
builder
public static DataSourceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceConfiguration.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.
-
-