Class CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty>
- Enclosing interface:
CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty
@Stability(Stable)
public static final class CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationConfigurations(List<? extends Object> associationConfigurations) associationConfigurations(IResolvable associationConfigurations) build()Builds the configured instance.emailGenerativeAnswerAiPromptId(String emailGenerativeAnswerAiPromptId) emailQueryReformulationAiPromptId(String emailQueryReformulationAiPromptId) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getLocale()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationConfigurations
@Stability(Stable) public CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder associationConfigurations(IResolvable associationConfigurations) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getAssociationConfigurations()- Parameters:
associationConfigurations- the value to be set.- Returns:
this
-
associationConfigurations
@Stability(Stable) public CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder associationConfigurations(List<? extends Object> associationConfigurations) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getAssociationConfigurations()- Parameters:
associationConfigurations- the value to be set.- Returns:
this
-
emailGenerativeAnswerAiPromptId
@Stability(Stable) public CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder emailGenerativeAnswerAiPromptId(String emailGenerativeAnswerAiPromptId) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getEmailGenerativeAnswerAiPromptId()- Parameters:
emailGenerativeAnswerAiPromptId- the value to be set.- Returns:
this
-
emailQueryReformulationAiPromptId
@Stability(Stable) public CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder emailQueryReformulationAiPromptId(String emailQueryReformulationAiPromptId) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getEmailQueryReformulationAiPromptId()- Parameters:
emailQueryReformulationAiPromptId- the value to be set.- Returns:
this
-
locale
@Stability(Stable) public CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder locale(String locale) Sets the value ofCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.getLocale()- Parameters:
locale- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty>- Returns:
- a new instance of
CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-