Class CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty>
- Enclosing interface:
CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty
@Stability(Stable)
public static final class CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRoleArn(String accessRoleArn) bedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessRoleArn
@Stability(Stable) public CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.Builder accessRoleArn(String accessRoleArn) Sets the value ofCfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.getAccessRoleArn()- Parameters:
accessRoleArn- The Amazon Resource Name (ARN) of the IAM role used to access the external Bedrock knowledge base.- Returns:
this
-
bedrockKnowledgeBaseArn
@Stability(Stable) public CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.Builder bedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) Sets the value ofCfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty.getBedrockKnowledgeBaseArn()- Parameters:
bedrockKnowledgeBaseArn- The Amazon Resource Name (ARN) of the external Bedrock knowledge base.- Returns:
this
-
build
@Stability(Stable) public CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty>- Returns:
- a new instance of
CfnAssistantAssociationPropsMixin.ExternalBedrockKnowledgeBaseConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-