Class CfnAIAgentProps.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgentProps>
- Enclosing interface:
CfnAIAgentProps
@Stability(Stable)
public static final class CfnAIAgentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgentProps>
A builder for
CfnAIAgentProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassistantId
(String assistantId) Sets the value ofCfnAIAgentProps.getAssistantId()
build()
Builds the configured instance.configuration
(IResolvable configuration) Sets the value ofCfnAIAgentProps.getConfiguration()
configuration
(CfnAIAgent.AIAgentConfigurationProperty configuration) Sets the value ofCfnAIAgentProps.getConfiguration()
description
(String description) Sets the value ofCfnAIAgentProps.getDescription()
Sets the value ofCfnAIAgentProps.getName()
Sets the value ofCfnAIAgentProps.getTags()
Sets the value ofCfnAIAgentProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assistantId
Sets the value ofCfnAIAgentProps.getAssistantId()
- Parameters:
assistantId
- The identifier of the Amazon Q in Connect assistant. This parameter is required. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
this
-
configuration
Sets the value ofCfnAIAgentProps.getConfiguration()
- Parameters:
configuration
- Configuration for the AI Agent. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnAIAgentProps.Builder configuration(CfnAIAgent.AIAgentConfigurationProperty configuration) Sets the value ofCfnAIAgentProps.getConfiguration()
- Parameters:
configuration
- Configuration for the AI Agent. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnAIAgentProps.getType()
- Parameters:
type
- The type of the AI Agent. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAIAgentProps.getDescription()
- Parameters:
description
- The description of the AI Agent.- Returns:
this
-
name
Sets the value ofCfnAIAgentProps.getName()
- Parameters:
name
- The name of the AI Agent.- Returns:
this
-
tags
Sets the value ofCfnAIAgentProps.getTags()
- Parameters:
tags
- The tags used to organize, track, or control access for this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAIAgentProps>
- Returns:
- a new instance of
CfnAIAgentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-