Interface CreateAgentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAgentRequest.Builder,,CreateAgentRequest> QuickSightRequest.Builder,SdkBuilder<CreateAgentRequest.Builder,,CreateAgentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateAgentRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionConnectors(String... actionConnectors) The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.actionConnectors(Collection<String> actionConnectors) The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.A unique identifier for the agent.agentLifecycle(String agentLifecycle) The lifecycle state of the agent.agentLifecycle(AgentLifecycle agentLifecycle) The lifecycle state of the agent.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the agent.default CreateAgentRequest.BuildercustomPromptInput(Consumer<CustomPromptInput.Builder> customPromptInput) The custom prompt configuration for the agent.customPromptInput(CustomPromptInput customPromptInput) The custom prompt configuration for the agent.description(String description) A description of the agent.The icon identifier for the agent.The name of the agent.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Names (ARNs) of the spaces to attach to the agent.spaces(Collection<String> spaces) The Amazon Resource Names (ARNs) of the spaces to attach to the agent.starterPrompts(String... starterPrompts) A list of starter prompts that are displayed to users when they begin interacting with the agent.starterPrompts(Collection<String> starterPrompts) A list of starter prompts that are displayed to users when they begin interacting with the agent.welcomeMessage(String welcomeMessage) The welcome message that is displayed when a user starts a conversation with the agent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
spaces
The Amazon Resource Names (ARNs) of the spaces to attach to the agent.
- Parameters:
spaces- The Amazon Resource Names (ARNs) of the spaces to attach to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaces
The Amazon Resource Names (ARNs) of the spaces to attach to the agent.
- Parameters:
spaces- The Amazon Resource Names (ARNs) of the spaces to attach to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConnectors
The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.
- Parameters:
actionConnectors- The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConnectors
The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.
- Parameters:
actionConnectors- The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The ID of the Amazon Web Services account that contains the agent.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentId
A unique identifier for the agent.
- Parameters:
agentId- A unique identifier for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the agent.
- Parameters:
name- The name of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the agent.
- Parameters:
description- A description of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iconId
The icon identifier for the agent.
- Parameters:
iconId- The icon identifier for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
starterPrompts
A list of starter prompts that are displayed to users when they begin interacting with the agent.
- Parameters:
starterPrompts- A list of starter prompts that are displayed to users when they begin interacting with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
starterPrompts
A list of starter prompts that are displayed to users when they begin interacting with the agent.
- Parameters:
starterPrompts- A list of starter prompts that are displayed to users when they begin interacting with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
welcomeMessage
The welcome message that is displayed when a user starts a conversation with the agent.
- Parameters:
welcomeMessage- The welcome message that is displayed when a user starts a conversation with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentLifecycle
The lifecycle state of the agent. Valid values are
PREVIEWandPUBLISHED.- Parameters:
agentLifecycle- The lifecycle state of the agent. Valid values arePREVIEWandPUBLISHED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentLifecycle
The lifecycle state of the agent. Valid values are
PREVIEWandPUBLISHED.- Parameters:
agentLifecycle- The lifecycle state of the agent. Valid values arePREVIEWandPUBLISHED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customPromptInput
The custom prompt configuration for the agent.
- Parameters:
customPromptInput- The custom prompt configuration for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPromptInput
default CreateAgentRequest.Builder customPromptInput(Consumer<CustomPromptInput.Builder> customPromptInput) The custom prompt configuration for the agent.
This is a convenience method that creates an instance of theCustomPromptInput.Builderavoiding the need to create one manually viaCustomPromptInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomPromptInput(CustomPromptInput).- Parameters:
customPromptInput- a consumer that will call methods onCustomPromptInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-