Class CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthConfiguration(CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty authConfiguration) authConfiguration(IResolvable authConfiguration) build()Builds the configured instance.workgroupArn(String workgroupArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder authConfiguration(IResolvable authConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.getAuthConfiguration()- Parameters:
authConfiguration- Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.- Returns:
this
-
authConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder authConfiguration(CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty authConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.getAuthConfiguration()- Parameters:
authConfiguration- Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.- Returns:
this
-
workgroupArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.Builder workgroupArn(String workgroupArn) Sets the value ofCfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty.getWorkgroupArn()- Parameters:
workgroupArn- The ARN of the Amazon Redshift workgroup.- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.RedshiftServerlessConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-