Class CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.OrchestrationAIAgentConfigurationProperty>
- Enclosing interface:
CfnAIAgent.OrchestrationAIAgentConfigurationProperty
@Stability(Stable)
public static final class CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.OrchestrationAIAgentConfigurationProperty>
A builder for
CfnAIAgent.OrchestrationAIAgentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectInstanceArn(String connectInstanceArn) Sets the value ofCfnAIAgent.OrchestrationAIAgentConfigurationProperty.getLocale()orchestrationAiGuardrailId(String orchestrationAiGuardrailId) orchestrationAiPromptId(String orchestrationAiPromptId) toolConfigurations(List<? extends Object> toolConfigurations) toolConfigurations(IResolvable toolConfigurations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
orchestrationAiPromptId
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder orchestrationAiPromptId(String orchestrationAiPromptId) - Parameters:
orchestrationAiPromptId- the value to be set. This parameter is required.- Returns:
this
-
connectInstanceArn
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder connectInstanceArn(String connectInstanceArn) - Parameters:
connectInstanceArn- the value to be set.- Returns:
this
-
locale
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder locale(String locale) Sets the value ofCfnAIAgent.OrchestrationAIAgentConfigurationProperty.getLocale()- Parameters:
locale- the value to be set.- Returns:
this
-
orchestrationAiGuardrailId
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder orchestrationAiGuardrailId(String orchestrationAiGuardrailId) Sets the value ofCfnAIAgent.OrchestrationAIAgentConfigurationProperty.getOrchestrationAiGuardrailId()- Parameters:
orchestrationAiGuardrailId- the value to be set.- Returns:
this
-
toolConfigurations
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder toolConfigurations(IResolvable toolConfigurations) - Parameters:
toolConfigurations- the value to be set.- Returns:
this
-
toolConfigurations
@Stability(Stable) public CfnAIAgent.OrchestrationAIAgentConfigurationProperty.Builder toolConfigurations(List<? extends Object> toolConfigurations) - Parameters:
toolConfigurations- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.OrchestrationAIAgentConfigurationProperty>- Returns:
- a new instance of
CfnAIAgent.OrchestrationAIAgentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-