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