Interface UpdateSessionRequest.Builder

    • Method Detail

      • sessionIdentifier

        UpdateSessionRequest.Builder sessionIdentifier​(String sessionIdentifier)

        The unique identifier of the session to modify. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

        Parameters:
        sessionIdentifier - The unique identifier of the session to modify. You can specify either the session's sessionId or 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.