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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
sessionIdor its Amazon Resource Name (ARN).- Parameters:
sessionIdentifier- The unique identifier of the session to modify. You can specify either the session'ssessionIdor 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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-