Class CfnAIAgent.AIAgentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.AIAgentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.AIAgentConfigurationProperty>
- Enclosing interface:
CfnAIAgent.AIAgentConfigurationProperty
@Stability(Stable)
public static final class CfnAIAgent.AIAgentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.AIAgentConfigurationProperty>
A builder for
CfnAIAgent.AIAgentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerRecommendationAiAgentConfiguration(IResolvable answerRecommendationAiAgentConfiguration) answerRecommendationAiAgentConfiguration(CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty answerRecommendationAiAgentConfiguration) build()Builds the configured instance.emailGenerativeAnswerAiAgentConfiguration(IResolvable emailGenerativeAnswerAiAgentConfiguration) emailGenerativeAnswerAiAgentConfiguration(CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty emailGenerativeAnswerAiAgentConfiguration) emailOverviewAiAgentConfiguration(IResolvable emailOverviewAiAgentConfiguration) emailOverviewAiAgentConfiguration(CfnAIAgent.EmailOverviewAIAgentConfigurationProperty emailOverviewAiAgentConfiguration) emailResponseAiAgentConfiguration(IResolvable emailResponseAiAgentConfiguration) emailResponseAiAgentConfiguration(CfnAIAgent.EmailResponseAIAgentConfigurationProperty emailResponseAiAgentConfiguration) manualSearchAiAgentConfiguration(IResolvable manualSearchAiAgentConfiguration) manualSearchAiAgentConfiguration(CfnAIAgent.ManualSearchAIAgentConfigurationProperty manualSearchAiAgentConfiguration) selfServiceAiAgentConfiguration(IResolvable selfServiceAiAgentConfiguration) selfServiceAiAgentConfiguration(CfnAIAgent.SelfServiceAIAgentConfigurationProperty selfServiceAiAgentConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
answerRecommendationAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder answerRecommendationAiAgentConfiguration(IResolvable answerRecommendationAiAgentConfiguration) Sets the value ofCfnAIAgent.AIAgentConfigurationProperty.getAnswerRecommendationAiAgentConfiguration()- Parameters:
answerRecommendationAiAgentConfiguration- The configuration for AI Agents of typeANSWER_RECOMMENDATION.- Returns:
this
-
answerRecommendationAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder answerRecommendationAiAgentConfiguration(CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty answerRecommendationAiAgentConfiguration) Sets the value ofCfnAIAgent.AIAgentConfigurationProperty.getAnswerRecommendationAiAgentConfiguration()- Parameters:
answerRecommendationAiAgentConfiguration- The configuration for AI Agents of typeANSWER_RECOMMENDATION.- Returns:
this
-
emailGenerativeAnswerAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailGenerativeAnswerAiAgentConfiguration(IResolvable emailGenerativeAnswerAiAgentConfiguration) Sets the value ofCfnAIAgent.AIAgentConfigurationProperty.getEmailGenerativeAnswerAiAgentConfiguration()- Parameters:
emailGenerativeAnswerAiAgentConfiguration- the value to be set.- Returns:
this
-
emailGenerativeAnswerAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailGenerativeAnswerAiAgentConfiguration(CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty emailGenerativeAnswerAiAgentConfiguration) Sets the value ofCfnAIAgent.AIAgentConfigurationProperty.getEmailGenerativeAnswerAiAgentConfiguration()- Parameters:
emailGenerativeAnswerAiAgentConfiguration- the value to be set.- Returns:
this
-
emailOverviewAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailOverviewAiAgentConfiguration(IResolvable emailOverviewAiAgentConfiguration) - Parameters:
emailOverviewAiAgentConfiguration- the value to be set.- Returns:
this
-
emailOverviewAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailOverviewAiAgentConfiguration(CfnAIAgent.EmailOverviewAIAgentConfigurationProperty emailOverviewAiAgentConfiguration) - Parameters:
emailOverviewAiAgentConfiguration- the value to be set.- Returns:
this
-
emailResponseAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailResponseAiAgentConfiguration(IResolvable emailResponseAiAgentConfiguration) - Parameters:
emailResponseAiAgentConfiguration- the value to be set.- Returns:
this
-
emailResponseAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder emailResponseAiAgentConfiguration(CfnAIAgent.EmailResponseAIAgentConfigurationProperty emailResponseAiAgentConfiguration) - Parameters:
emailResponseAiAgentConfiguration- the value to be set.- Returns:
this
-
manualSearchAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder manualSearchAiAgentConfiguration(IResolvable manualSearchAiAgentConfiguration) - Parameters:
manualSearchAiAgentConfiguration- The configuration for AI Agents of typeMANUAL_SEARCH.- Returns:
this
-
manualSearchAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder manualSearchAiAgentConfiguration(CfnAIAgent.ManualSearchAIAgentConfigurationProperty manualSearchAiAgentConfiguration) - Parameters:
manualSearchAiAgentConfiguration- The configuration for AI Agents of typeMANUAL_SEARCH.- Returns:
this
-
selfServiceAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder selfServiceAiAgentConfiguration(IResolvable selfServiceAiAgentConfiguration) - Parameters:
selfServiceAiAgentConfiguration- The self-service AI agent configuration.- Returns:
this
-
selfServiceAiAgentConfiguration
@Stability(Stable) public CfnAIAgent.AIAgentConfigurationProperty.Builder selfServiceAiAgentConfiguration(CfnAIAgent.SelfServiceAIAgentConfigurationProperty selfServiceAiAgentConfiguration) - Parameters:
selfServiceAiAgentConfiguration- The self-service AI agent configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.AIAgentConfigurationProperty>- Returns:
- a new instance of
CfnAIAgent.AIAgentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-