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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateSessionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSessionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSessionRequest.BuildersessionIdentifier(String sessionIdentifier)The unique identifier of the session to modify.UpdateSessionRequest.BuildersessionMetadata(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 Detail
-
sessionIdentifier
UpdateSessionRequest.Builder sessionIdentifier(String 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
UpdateSessionRequest.Builder sessionMetadata(Map<String,String> 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
-
-