Class CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.redshiftConfiguration(CfnKnowledgeBasePropsMixin.RedshiftConfigurationProperty redshiftConfiguration) redshiftConfiguration(IResolvable redshiftConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
redshiftConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder redshiftConfiguration(IResolvable redshiftConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.getRedshiftConfiguration()- Parameters:
redshiftConfiguration- Specifies configurations for a knowledge base connected to an Amazon Redshift database.- Returns:
this
-
redshiftConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder redshiftConfiguration(CfnKnowledgeBasePropsMixin.RedshiftConfigurationProperty redshiftConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.getRedshiftConfiguration()- Parameters:
redshiftConfiguration- Specifies configurations for a knowledge base connected to an Amazon Redshift database.- Returns:
this
-
type
@Stability(Stable) public CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty.Builder type(String type) - Parameters:
type- The type of SQL database to connect to the knowledge base.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.SqlKnowledgeBaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-