Interface DataSourceConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>,SdkBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>,SdkPojo
- Enclosing class:
- DataSourceConfiguration
public static interface DataSourceConfiguration.Builder extends SdkPojo, CopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataSourceConfiguration.BuilderbedrockKnowledgeStoreConfiguration(Consumer<BedrockKnowledgeStoreConfiguration.Builder> bedrockKnowledgeStoreConfiguration)Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent.DataSourceConfiguration.BuilderbedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration bedrockKnowledgeStoreConfiguration)Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent.default DataSourceConfiguration.BuilderkendraConfiguration(Consumer<QnAKendraConfiguration.Builder> kendraConfiguration)Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent.DataSourceConfiguration.BuilderkendraConfiguration(QnAKendraConfiguration kendraConfiguration)Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent.default DataSourceConfiguration.BuilderopensearchConfiguration(Consumer<OpensearchConfiguration.Builder> opensearchConfiguration)Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent.DataSourceConfiguration.BuilderopensearchConfiguration(OpensearchConfiguration opensearchConfiguration)Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
opensearchConfiguration
DataSourceConfiguration.Builder opensearchConfiguration(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.- Parameters:
opensearchConfiguration- Contains details about the configuration of the Amazon OpenSearch Service database used for theAMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opensearchConfiguration
default DataSourceConfiguration.Builder opensearchConfiguration(Consumer<OpensearchConfiguration.Builder> opensearchConfiguration)
Contains details about the configuration of the Amazon OpenSearch Service database used for the
This is a convenience method that creates an instance of theAMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.OpensearchConfiguration.Builderavoiding the need to create one manually viaOpensearchConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopensearchConfiguration(OpensearchConfiguration).- Parameters:
opensearchConfiguration- a consumer that will call methods onOpensearchConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
opensearchConfiguration(OpensearchConfiguration)
-
kendraConfiguration
DataSourceConfiguration.Builder kendraConfiguration(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.- Parameters:
kendraConfiguration- Contains details about the configuration of the Amazon Kendra index used for theAMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default DataSourceConfiguration.Builder kendraConfiguration(Consumer<QnAKendraConfiguration.Builder> kendraConfiguration)
Contains details about the configuration of the Amazon Kendra index used for the
This is a convenience method that creates an instance of theAMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.QnAKendraConfiguration.Builderavoiding the need to create one manually viaQnAKendraConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokendraConfiguration(QnAKendraConfiguration).- Parameters:
kendraConfiguration- a consumer that will call methods onQnAKendraConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kendraConfiguration(QnAKendraConfiguration)
-
bedrockKnowledgeStoreConfiguration
DataSourceConfiguration.Builder bedrockKnowledgeStoreConfiguration(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.- Parameters:
bedrockKnowledgeStoreConfiguration- Contains details about the configuration of the Amazon Bedrock knowledge base used for theAMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockKnowledgeStoreConfiguration
default DataSourceConfiguration.Builder bedrockKnowledgeStoreConfiguration(Consumer<BedrockKnowledgeStoreConfiguration.Builder> bedrockKnowledgeStoreConfiguration)
Contains details about the configuration of the Amazon Bedrock knowledge base used for the
This is a convenience method that creates an instance of theAMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.BedrockKnowledgeStoreConfiguration.Builderavoiding the need to create one manually viaBedrockKnowledgeStoreConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration).- Parameters:
bedrockKnowledgeStoreConfiguration- a consumer that will call methods onBedrockKnowledgeStoreConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfiguration)
-
-