Class CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty>
- Enclosing interface:
- CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty>
A builder for 
CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.redshiftConfiguration(IResolvable redshiftConfiguration) redshiftConfiguration(CfnKnowledgeBase.RedshiftConfigurationProperty redshiftConfiguration) Sets the value ofCfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.getType()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
type@Stability(Stable) public CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder type(String type) Sets the value ofCfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.getType()- Parameters:
- type- The type of SQL database to connect to the knowledge base. This parameter is required.
- Returns:
- this
 
- 
redshiftConfiguration@Stability(Stable) public CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder redshiftConfiguration(IResolvable redshiftConfiguration) - Parameters:
- redshiftConfiguration- Specifies configurations for a knowledge base connected to an Amazon Redshift database.
- Returns:
- this
 
- 
redshiftConfiguration@Stability(Stable) public CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.Builder redshiftConfiguration(CfnKnowledgeBase.RedshiftConfigurationProperty redshiftConfiguration) - Parameters:
- redshiftConfiguration- Specifies configurations for a knowledge base connected to an Amazon Redshift database.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty>
- Returns:
- a new instance of CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-