Class CfnAgentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAgentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin>
- Enclosing class:
CfnAgentPropsMixin
@Stability(Stable)
public static final class CfnAgentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin>
A fluent builder for
CfnAgentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactionConnectors(List<String> actionConnectors) A list of ActionConnector ARNs (max 10) attached to the agent.The unique identifier for the agent.agentLifecycle(String agentLifecycle) The lifecycle stage of the agent.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account where the agent is being created.build()static CfnAgentPropsMixin.Buildercreate()static CfnAgentPropsMixin.Buildercreate(CfnPropertyMixinOptions options) customPromptInput(CfnAgentPropsMixin.CustomPromptInputProperty customPromptInput) Custom prompt configuration.customPromptInput(IResolvable customPromptInput) Custom prompt configuration.description(String description) A description of the agent.The icon identifier for the agent.The display name of the agent.A list of Space ARNs (max 10) attached to the agent.starterPrompts(List<String> starterPrompts) A list of up to 3 starter prompts displayed to users.tags(List<? extends CfnAgentPropsMixin.AgentTagProperty> tags) A list of key-value pairs to associate with the agent resource.welcomeMessage(String welcomeMessage) The welcome message displayed when a user opens the agent.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAgentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAgentPropsMixin.Builder.
-
actionConnectors
@Stability(Stable) public CfnAgentPropsMixin.Builder actionConnectors(List<String> actionConnectors) A list of ActionConnector ARNs (max 10) attached to the agent.- Parameters:
actionConnectors- A list of ActionConnector ARNs (max 10) attached to the agent. This parameter is required.- Returns:
this- See Also:
-
agentId
The unique identifier for the agent.- Parameters:
agentId- The unique identifier for the agent. This parameter is required.- Returns:
this- See Also:
-
agentLifecycle
The lifecycle stage of the agent.PREVIEW or PUBLISHED.
- Parameters:
agentLifecycle- The lifecycle stage of the agent. This parameter is required.- Returns:
this- See Also:
-
awsAccountId
The ID of the Amazon Web Services account where the agent is being created.- Parameters:
awsAccountId- The ID of the Amazon Web Services account where the agent is being created. This parameter is required.- Returns:
this- See Also:
-
customPromptInput
@Stability(Stable) public CfnAgentPropsMixin.Builder customPromptInput(IResolvable customPromptInput) Custom prompt configuration.Specify either ExistingPrompt or NewPrompt.
- Parameters:
customPromptInput- Custom prompt configuration. This parameter is required.- Returns:
this- See Also:
-
customPromptInput
@Stability(Stable) public CfnAgentPropsMixin.Builder customPromptInput(CfnAgentPropsMixin.CustomPromptInputProperty customPromptInput) Custom prompt configuration.Specify either ExistingPrompt or NewPrompt.
- Parameters:
customPromptInput- Custom prompt configuration. This parameter is required.- Returns:
this- See Also:
-
description
A description of the agent.- Parameters:
description- A description of the agent. This parameter is required.- Returns:
this- See Also:
-
iconId
The icon identifier for the agent.- Parameters:
iconId- The icon identifier for the agent. This parameter is required.- Returns:
this- See Also:
-
name
The display name of the agent.- Parameters:
name- The display name of the agent. This parameter is required.- Returns:
this- See Also:
-
spaces
A list of Space ARNs (max 10) attached to the agent.- Parameters:
spaces- A list of Space ARNs (max 10) attached to the agent. This parameter is required.- Returns:
this- See Also:
-
starterPrompts
A list of up to 3 starter prompts displayed to users.- Parameters:
starterPrompts- A list of up to 3 starter prompts displayed to users. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnAgentPropsMixin.Builder tags(List<? extends CfnAgentPropsMixin.AgentTagProperty> tags) A list of key-value pairs to associate with the agent resource.- Parameters:
tags- A list of key-value pairs to associate with the agent resource. This parameter is required.- Returns:
this- See Also:
-
welcomeMessage
The welcome message displayed when a user opens the agent.- Parameters:
welcomeMessage- The welcome message displayed when a user opens the agent. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin>- Returns:
- a newly built instance of
CfnAgentPropsMixin.
-