Class CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.usernamePasswordSecretArn(String usernamePasswordSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.Builder type(String type) - Parameters:
type- The type of authentication to use.- Returns:
this
-
usernamePasswordSecretArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.Builder usernamePasswordSecretArn(String usernamePasswordSecretArn) Sets the value ofCfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty.getUsernamePasswordSecretArn()- Parameters:
usernamePasswordSecretArn- The ARN of an Secrets Manager secret for authentication.- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.RedshiftServerlessAuthConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-