Interface KnowledgeBaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KnowledgeBaseConfiguration.Builder,
,KnowledgeBaseConfiguration> SdkBuilder<KnowledgeBaseConfiguration.Builder,
,KnowledgeBaseConfiguration> SdkPojo
- Enclosing class:
KnowledgeBaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionkendraKnowledgeBaseConfiguration
(Consumer<KendraKnowledgeBaseConfiguration.Builder> kendraKnowledgeBaseConfiguration) Settings for an Amazon Kendra knowledge base.kendraKnowledgeBaseConfiguration
(KendraKnowledgeBaseConfiguration kendraKnowledgeBaseConfiguration) Settings for an Amazon Kendra knowledge base.sqlKnowledgeBaseConfiguration
(Consumer<SqlKnowledgeBaseConfiguration.Builder> sqlKnowledgeBaseConfiguration) Specifies configurations for a knowledge base connected to an SQL database.sqlKnowledgeBaseConfiguration
(SqlKnowledgeBaseConfiguration sqlKnowledgeBaseConfiguration) Specifies configurations for a knowledge base connected to an SQL database.The type of data that the data source is converted into for the knowledge base.type
(KnowledgeBaseType type) The type of data that the data source is converted into for the knowledge base.vectorKnowledgeBaseConfiguration
(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration) Contains details about the model that's used to convert the data source into vector embeddings.vectorKnowledgeBaseConfiguration
(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration) Contains details about the model that's used to convert the data source into vector embeddings.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, sdkFieldNameToField, sdkFields
-
Method Details
-
kendraKnowledgeBaseConfiguration
KnowledgeBaseConfiguration.Builder kendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration kendraKnowledgeBaseConfiguration) Settings for an Amazon Kendra knowledge base.
- Parameters:
kendraKnowledgeBaseConfiguration
- Settings for an Amazon Kendra knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraKnowledgeBaseConfiguration
default KnowledgeBaseConfiguration.Builder kendraKnowledgeBaseConfiguration(Consumer<KendraKnowledgeBaseConfiguration.Builder> kendraKnowledgeBaseConfiguration) Settings for an Amazon Kendra knowledge base.
This is a convenience method that creates an instance of theKendraKnowledgeBaseConfiguration.Builder
avoiding the need to create one manually viaKendraKnowledgeBaseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration)
.- Parameters:
kendraKnowledgeBaseConfiguration
- a consumer that will call methods onKendraKnowledgeBaseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqlKnowledgeBaseConfiguration
KnowledgeBaseConfiguration.Builder sqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration sqlKnowledgeBaseConfiguration) Specifies configurations for a knowledge base connected to an SQL database.
- Parameters:
sqlKnowledgeBaseConfiguration
- Specifies configurations for a knowledge base connected to an SQL database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlKnowledgeBaseConfiguration
default KnowledgeBaseConfiguration.Builder sqlKnowledgeBaseConfiguration(Consumer<SqlKnowledgeBaseConfiguration.Builder> sqlKnowledgeBaseConfiguration) Specifies configurations for a knowledge base connected to an SQL database.
This is a convenience method that creates an instance of theSqlKnowledgeBaseConfiguration.Builder
avoiding the need to create one manually viaSqlKnowledgeBaseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration)
.- Parameters:
sqlKnowledgeBaseConfiguration
- a consumer that will call methods onSqlKnowledgeBaseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of data that the data source is converted into for the knowledge base.
- Parameters:
type
- The type of data that the data source is converted into for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of data that the data source is converted into for the knowledge base.
- Parameters:
type
- The type of data that the data source is converted into for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vectorKnowledgeBaseConfiguration
KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration) Contains details about the model that's used to convert the data source into vector embeddings.
- Parameters:
vectorKnowledgeBaseConfiguration
- Contains details about the model that's used to convert the data source into vector embeddings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorKnowledgeBaseConfiguration
default KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration) Contains details about the model that's used to convert the data source into vector embeddings.
This is a convenience method that creates an instance of theVectorKnowledgeBaseConfiguration.Builder
avoiding the need to create one manually viaVectorKnowledgeBaseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration)
.- Parameters:
vectorKnowledgeBaseConfiguration
- a consumer that will call methods onVectorKnowledgeBaseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-