Class CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.EmailResponseAIAgentConfigurationProperty>
- Enclosing interface:
CfnAIAgent.EmailResponseAIAgentConfigurationProperty
@Stability(Stable)
public static final class CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.EmailResponseAIAgentConfigurationProperty>
A builder for
CfnAIAgent.EmailResponseAIAgentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationConfigurations(List<? extends Object> associationConfigurations) associationConfigurations(IResolvable associationConfigurations) build()Builds the configured instance.emailQueryReformulationAiPromptId(String emailQueryReformulationAiPromptId) emailResponseAiPromptId(String emailResponseAiPromptId) Sets the value ofCfnAIAgent.EmailResponseAIAgentConfigurationProperty.getLocale()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationConfigurations
@Stability(Stable) public CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder associationConfigurations(IResolvable associationConfigurations) Sets the value ofCfnAIAgent.EmailResponseAIAgentConfigurationProperty.getAssociationConfigurations()- Parameters:
associationConfigurations- Configuration settings for knowledge base associations used by the email response agent.- Returns:
this
-
associationConfigurations
@Stability(Stable) public CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder associationConfigurations(List<? extends Object> associationConfigurations) Sets the value ofCfnAIAgent.EmailResponseAIAgentConfigurationProperty.getAssociationConfigurations()- Parameters:
associationConfigurations- Configuration settings for knowledge base associations used by the email response agent.- Returns:
this
-
emailQueryReformulationAiPromptId
@Stability(Stable) public CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder emailQueryReformulationAiPromptId(String emailQueryReformulationAiPromptId) Sets the value ofCfnAIAgent.EmailResponseAIAgentConfigurationProperty.getEmailQueryReformulationAiPromptId()- Parameters:
emailQueryReformulationAiPromptId- The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search for response generation.- Returns:
this
-
emailResponseAiPromptId
@Stability(Stable) public CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder emailResponseAiPromptId(String emailResponseAiPromptId) - Parameters:
emailResponseAiPromptId- The ID of the System AI prompt used for generating professional email responses based on knowledge base content.- Returns:
this
-
locale
@Stability(Stable) public CfnAIAgent.EmailResponseAIAgentConfigurationProperty.Builder locale(String locale) Sets the value ofCfnAIAgent.EmailResponseAIAgentConfigurationProperty.getLocale()- Parameters:
locale- The locale setting for language-specific email response generation (for example, en_US, es_ES).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.EmailResponseAIAgentConfigurationProperty>- Returns:
- a new instance of
CfnAIAgent.EmailResponseAIAgentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-