Interface UpdateAssistantAiAgentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAssistantAiAgentRequest.Builder,
,UpdateAssistantAiAgentRequest> QConnectRequest.Builder
,SdkBuilder<UpdateAssistantAiAgentRequest.Builder,
,UpdateAssistantAiAgentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAssistantAiAgentRequest
@Mutable
@NotThreadSafe
public static interface UpdateAssistantAiAgentRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateAssistantAiAgentRequest.Builder,UpdateAssistantAiAgentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaiAgentType
(String aiAgentType) The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.aiAgentType
(AIAgentType aiAgentType) The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.assistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.configuration
(Consumer<AIAgentConfigurationData.Builder> configuration) The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.configuration
(AIAgentConfigurationData configuration) The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
assistantId
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgentType
The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
- Parameters:
aiAgentType
- The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiAgentType
The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
- Parameters:
aiAgentType
- The type of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
- Parameters:
configuration
- The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateAssistantAiAgentRequest.Builder configuration(Consumer<AIAgentConfigurationData.Builder> configuration) The configuration of the AI Agent being updated for use by default on the Amazon Q in Connect Assistant.
This is a convenience method that creates an instance of theAIAgentConfigurationData.Builder
avoiding the need to create one manually viaAIAgentConfigurationData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(AIAgentConfigurationData)
.- Parameters:
configuration
- a consumer that will call methods onAIAgentConfigurationData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAssistantAiAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAssistantAiAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-