Interface SqlKnowledgeBaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SqlKnowledgeBaseConfiguration.Builder,
,SqlKnowledgeBaseConfiguration> SdkBuilder<SqlKnowledgeBaseConfiguration.Builder,
,SqlKnowledgeBaseConfiguration> SdkPojo
- Enclosing class:
SqlKnowledgeBaseConfiguration
@Mutable
@NotThreadSafe
public static interface SqlKnowledgeBaseConfiguration.Builder
extends SdkPojo, CopyableBuilder<SqlKnowledgeBaseConfiguration.Builder,SqlKnowledgeBaseConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionredshiftConfiguration
(Consumer<RedshiftConfiguration.Builder> redshiftConfiguration) Specifies configurations for a knowledge base connected to an Amazon Redshift database.redshiftConfiguration
(RedshiftConfiguration redshiftConfiguration) Specifies configurations for a knowledge base connected to an Amazon Redshift database.The type of SQL database to connect to the knowledge base.type
(QueryEngineType type) The type of SQL database to connect to the knowledge base.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
-
redshiftConfiguration
SqlKnowledgeBaseConfiguration.Builder redshiftConfiguration(RedshiftConfiguration redshiftConfiguration) Specifies configurations for a knowledge base connected to an Amazon Redshift database.
- Parameters:
redshiftConfiguration
- Specifies configurations for a knowledge base connected to an Amazon Redshift database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftConfiguration
default SqlKnowledgeBaseConfiguration.Builder redshiftConfiguration(Consumer<RedshiftConfiguration.Builder> redshiftConfiguration) Specifies configurations for a knowledge base connected to an Amazon Redshift database.
This is a convenience method that creates an instance of theRedshiftConfiguration.Builder
avoiding the need to create one manually viaRedshiftConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftConfiguration(RedshiftConfiguration)
.- Parameters:
redshiftConfiguration
- a consumer that will call methods onRedshiftConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of SQL database to connect to the knowledge base.
- Parameters:
type
- The type of SQL database to connect to the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of SQL database to connect to the knowledge base.
- Parameters:
type
- The type of SQL database to connect to the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-