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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSessionResponse.BuildercreatedAt(Instant createdAt)The timestamp for when the session was created.GetSessionResponse.BuilderencryptionKeyArn(String encryptionKeyArn)The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data.GetSessionResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The timestamp for when the session was last modified.GetSessionResponse.BuildersessionArn(String sessionArn)The Amazon Resource Name (ARN) of the session.GetSessionResponse.BuildersessionId(String sessionId)The unique identifier for the session in UUID format.GetSessionResponse.BuildersessionMetadata(Map<String,String> sessionMetadata)A map of key-value pairs containing attributes persisted across the session.GetSessionResponse.BuildersessionStatus(String sessionStatus)The current status of the session.GetSessionResponse.BuildersessionStatus(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 Detail
-
createdAt
GetSessionResponse.Builder createdAt(Instant 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
GetSessionResponse.Builder encryptionKeyArn(String 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
GetSessionResponse.Builder lastUpdatedAt(Instant 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
GetSessionResponse.Builder sessionArn(String 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
GetSessionResponse.Builder sessionId(String 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
GetSessionResponse.Builder sessionMetadata(Map<String,String> 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
GetSessionResponse.Builder sessionStatus(String 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,SessionStatus
-
sessionStatus
GetSessionResponse.Builder sessionStatus(SessionStatus 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,SessionStatus
-
-