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