Interface ParticipantTokenCredentials.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>, SdkBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>, SdkPojo
Enclosing class:
ParticipantTokenCredentials

public static interface ParticipantTokenCredentials.Builder extends SdkPojo, CopyableBuilder<ParticipantTokenCredentials.Builder,ParticipantTokenCredentials>
  • Method Details

    • participantToken

      ParticipantTokenCredentials.Builder participantToken(String participantToken)

      The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.

      Parameters:
      participantToken - The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiry

      The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

      Parameters:
      expiry - The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
      Returns:
      Returns a reference to this object so that method calls can be chained together.