Interface UpdateAgentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAgentRequest.Builder,,UpdateAgentRequest> QuickSightRequest.Builder,SdkBuilder<UpdateAgentRequest.Builder,,UpdateAgentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAgentRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionConnectorsToAdd(String... actionConnectorsToAdd) The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.actionConnectorsToAdd(Collection<String> actionConnectorsToAdd) The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.actionConnectorsToRemove(String... actionConnectorsToRemove) The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.actionConnectorsToRemove(Collection<String> actionConnectorsToRemove) The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.The unique identifier for the agent to update.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the agent.default UpdateAgentRequest.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.spacesToAdd(String... spacesToAdd) The Amazon Resource Names (ARNs) of the spaces to attach to the agent.spacesToAdd(Collection<String> spacesToAdd) The Amazon Resource Names (ARNs) of the spaces to attach to the agent.spacesToRemove(String... spacesToRemove) The Amazon Resource Names (ARNs) of the spaces to detach from the agent.spacesToRemove(Collection<String> spacesToRemove) The Amazon Resource Names (ARNs) of the spaces to detach from 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
-
agentId
The unique identifier for the agent to update.
- Parameters:
agentId- The unique identifier for the agent to update.- 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.
-
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.
-
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 UpdateAgentRequest.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:
-
spacesToAdd
The Amazon Resource Names (ARNs) of the spaces to attach to the agent.
- Parameters:
spacesToAdd- 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.
-
spacesToAdd
The Amazon Resource Names (ARNs) of the spaces to attach to the agent.
- Parameters:
spacesToAdd- 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.
-
spacesToRemove
The Amazon Resource Names (ARNs) of the spaces to detach from the agent.
- Parameters:
spacesToRemove- The Amazon Resource Names (ARNs) of the spaces to detach from the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spacesToRemove
The Amazon Resource Names (ARNs) of the spaces to detach from the agent.
- Parameters:
spacesToRemove- The Amazon Resource Names (ARNs) of the spaces to detach from the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConnectorsToAdd
The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.
- Parameters:
actionConnectorsToAdd- 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.
-
actionConnectorsToAdd
The Amazon Resource Names (ARNs) of the action connectors to attach to the agent.
- Parameters:
actionConnectorsToAdd- 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.
-
actionConnectorsToRemove
The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.
- Parameters:
actionConnectorsToRemove- The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionConnectorsToRemove
The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.
- Parameters:
actionConnectorsToRemove- The Amazon Resource Names (ARNs) of the action connectors to detach from the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAgentRequest.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
UpdateAgentRequest.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.
-