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