Interface GetSessionResponse.Builder

    • 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