Interface UpdateSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> QConnectRequest.Builder
,SdkBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSessionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaiAgentConfiguration
(Map<AIAgentType, AIAgentConfigurationData> aiAgentConfiguration) The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.aiAgentConfigurationWithStrings
(Map<String, AIAgentConfigurationData> aiAgentConfiguration) The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.assistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.description
(String description) The description.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the session.default UpdateSessionRequest.Builder
tagFilter
(Consumer<TagFilter.Builder> tagFilter) An object that can be used to specify Tag conditions.An object that can be used to specify Tag conditions.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.
-
sessionId
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
sessionId
- The identifier of the session. 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.
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilter
An object that can be used to specify Tag conditions.
- Parameters:
tagFilter
- An object that can be used to specify Tag conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilter
An object that can be used to specify Tag conditions.
This is a convenience method that creates an instance of theTagFilter.Builder
avoiding the need to create one manually viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagFilter(TagFilter)
.- Parameters:
tagFilter
- a consumer that will call methods onTagFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aiAgentConfigurationWithStrings
UpdateSessionRequest.Builder aiAgentConfigurationWithStrings(Map<String, AIAgentConfigurationData> aiAgentConfiguration) The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.
- Parameters:
aiAgentConfiguration
- The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgentConfiguration
UpdateSessionRequest.Builder aiAgentConfiguration(Map<AIAgentType, AIAgentConfigurationData> aiAgentConfiguration) The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.
- Parameters:
aiAgentConfiguration
- The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSessionRequest.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
UpdateSessionRequest.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.
-