Interface KnowledgeBaseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkPojo
- Enclosing class:
- KnowledgeBaseConfiguration
@Mutable @NotThreadSafe public static interface KnowledgeBaseConfiguration.Builder extends SdkPojo, CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KnowledgeBaseConfiguration.BuilderkendraKnowledgeBaseConfiguration(Consumer<KendraKnowledgeBaseConfiguration.Builder> kendraKnowledgeBaseConfiguration)Settings for an Amazon Kendra knowledge base.KnowledgeBaseConfiguration.BuilderkendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration kendraKnowledgeBaseConfiguration)Settings for an Amazon Kendra knowledge base.default KnowledgeBaseConfiguration.BuildersqlKnowledgeBaseConfiguration(Consumer<SqlKnowledgeBaseConfiguration.Builder> sqlKnowledgeBaseConfiguration)Specifies configurations for a knowledge base connected to an SQL database.KnowledgeBaseConfiguration.BuildersqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration sqlKnowledgeBaseConfiguration)Specifies configurations for a knowledge base connected to an SQL database.KnowledgeBaseConfiguration.Buildertype(String type)The type of data that the data source is converted into for the knowledge base.KnowledgeBaseConfiguration.Buildertype(KnowledgeBaseType type)The type of data that the data source is converted into for the knowledge base.default KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration)Contains details about the model that's used to convert the data source into vector embeddings.KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(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 Detail
-
type
KnowledgeBaseConfiguration.Builder type(String 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:
KnowledgeBaseType,KnowledgeBaseType
-
type
KnowledgeBaseConfiguration.Builder type(KnowledgeBaseType 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:
KnowledgeBaseType,KnowledgeBaseType
-
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.Builderavoiding the need to create one manually viaVectorKnowledgeBaseConfiguration.builder().When the
Consumercompletes,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:
vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration)
-
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.Builderavoiding the need to create one manually viaKendraKnowledgeBaseConfiguration.builder().When the
Consumercompletes,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:
kendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfiguration)
-
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.Builderavoiding the need to create one manually viaSqlKnowledgeBaseConfiguration.builder().When the
Consumercompletes,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:
sqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfiguration)
-
-