Class CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty>
- Enclosing interface:
CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty
@Stability(Stable)
public static final class CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantAssociation.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 CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.Builder accessRoleArn(String accessRoleArn) Sets the value ofCfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.getAccessRoleArn()- Parameters:
accessRoleArn- the value to be set. This parameter is required.- Returns:
this
-
bedrockKnowledgeBaseArn
@Stability(Stable) public CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.Builder bedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn) Sets the value ofCfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty.getBedrockKnowledgeBaseArn()- Parameters:
bedrockKnowledgeBaseArn- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty>- Returns:
- a new instance of
CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-