Class CfnAssistantAssociation.AssociationDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAssistantAssociation.AssociationDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantAssociation.AssociationDataProperty>
- Enclosing interface:
CfnAssistantAssociation.AssociationDataProperty
@Stability(Stable)
public static final class CfnAssistantAssociation.AssociationDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantAssociation.AssociationDataProperty>
A builder for
CfnAssistantAssociation.AssociationDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.externalBedrockKnowledgeBaseConfig(IResolvable externalBedrockKnowledgeBaseConfig) externalBedrockKnowledgeBaseConfig(CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty externalBedrockKnowledgeBaseConfig) knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnAssistantAssociation.AssociationDataProperty.getKnowledgeBaseId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
externalBedrockKnowledgeBaseConfig
@Stability(Stable) public CfnAssistantAssociation.AssociationDataProperty.Builder externalBedrockKnowledgeBaseConfig(IResolvable externalBedrockKnowledgeBaseConfig) Sets the value ofCfnAssistantAssociation.AssociationDataProperty.getExternalBedrockKnowledgeBaseConfig()- Parameters:
externalBedrockKnowledgeBaseConfig- the value to be set.- Returns:
this
-
externalBedrockKnowledgeBaseConfig
@Stability(Stable) public CfnAssistantAssociation.AssociationDataProperty.Builder externalBedrockKnowledgeBaseConfig(CfnAssistantAssociation.ExternalBedrockKnowledgeBaseConfigProperty externalBedrockKnowledgeBaseConfig) Sets the value ofCfnAssistantAssociation.AssociationDataProperty.getExternalBedrockKnowledgeBaseConfig()- Parameters:
externalBedrockKnowledgeBaseConfig- the value to be set.- Returns:
this
-
knowledgeBaseId
@Stability(Stable) public CfnAssistantAssociation.AssociationDataProperty.Builder knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnAssistantAssociation.AssociationDataProperty.getKnowledgeBaseId()- Parameters:
knowledgeBaseId- The identifier of the knowledge base.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssistantAssociation.AssociationDataProperty>- Returns:
- a new instance of
CfnAssistantAssociation.AssociationDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-