Interface UpdateSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRuntimeRequest.Builder
,Buildable
,CopyableBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> SdkBuilder<UpdateSessionRequest.Builder,
,UpdateSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSessionRequest
@Mutable
@NotThreadSafe
public static interface UpdateSessionRequest.Builder
extends BedrockAgentRuntimeRequest.Builder, SdkPojo, CopyableBuilder<UpdateSessionRequest.Builder,UpdateSessionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionIdentifier
(String sessionIdentifier) The unique identifier of the session to modify.sessionMetadata
(Map<String, String> sessionMetadata) A map of key-value pairs containing attributes to be persisted across the session.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
sessionIdentifier
The unique identifier of the session to modify. You can specify either the session's
sessionId
or its Amazon Resource Name (ARN).- Parameters:
sessionIdentifier
- The unique identifier of the session to modify. You can specify either the session'ssessionId
or its Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMetadata
A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.
- Parameters:
sessionMetadata
- A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.- 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.
-