Interface GetSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentRuntimeResponse.Builder
,Buildable
,CopyableBuilder<GetSessionResponse.Builder,
,GetSessionResponse> SdkBuilder<GetSessionResponse.Builder,
,GetSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSessionResponse
@Mutable
@NotThreadSafe
public static interface GetSessionResponse.Builder
extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp for when the session was created.encryptionKeyArn
(String encryptionKeyArn) The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp for when the session was last modified.sessionArn
(String sessionArn) The Amazon Resource Name (ARN) of the session.The unique identifier for the session in UUID format.sessionMetadata
(Map<String, String> sessionMetadata) A map of key-value pairs containing attributes persisted across the session.sessionStatus
(String sessionStatus) The current status of the session.sessionStatus
(SessionStatus sessionStatus) The current status of the session.Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The timestamp for when the session was created.
- Parameters:
createdAt
- The timestamp for when the session was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see Amazon Bedrock session encryption.
- Parameters:
encryptionKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see Amazon Bedrock session encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp for when the session was last modified.
- Parameters:
lastUpdatedAt
- The timestamp for when the session was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionArn
The Amazon Resource Name (ARN) of the session.
- Parameters:
sessionArn
- The Amazon Resource Name (ARN) of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier for the session in UUID format.
- Parameters:
sessionId
- The unique identifier for the session in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionMetadata
A map of key-value pairs containing attributes persisted across the session.
- Parameters:
sessionMetadata
- A map of key-value pairs containing attributes persisted across the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStatus
The current status of the session.
- Parameters:
sessionStatus
- The current status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionStatus
The current status of the session.
- Parameters:
sessionStatus
- The current status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-