Interface CreateChatTokenResponse.Builder

  • Method Details

    • token

      The issued client token, encrypted.

      Parameters:
      token - The issued client token, encrypted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenExpirationTime

      CreateChatTokenResponse.Builder tokenExpirationTime(Instant tokenExpirationTime)

      Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.

      Parameters:
      tokenExpirationTime - Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionExpirationTime

      CreateChatTokenResponse.Builder sessionExpirationTime(Instant sessionExpirationTime)

      Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.

      Parameters:
      sessionExpirationTime - Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.