Interface UpdateSessionRequest.Builder

  • Method Details

    • 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.
    • overrideConfiguration

      UpdateSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.