Class GetRelayConfigurationOptions

java.lang.Object
com.azure.communication.networktraversal.models.GetRelayConfigurationOptions

public final class GetRelayConfigurationOptions extends Object
Additional options for getting a relay configuration.
  • Constructor Details

    • GetRelayConfigurationOptions

      public GetRelayConfigurationOptions()
  • Method Details

    • getCommunicationUserIdentifier

      public CommunicationUserIdentifier getCommunicationUserIdentifier()
      Get the communicationUser property: The CommunicationUserIdentifier for whom to issue a token.
      Returns:
      the communicationUser value.
    • setCommunicationUserIdentifier

      public GetRelayConfigurationOptions setCommunicationUserIdentifier(CommunicationUserIdentifier communicationUser)
      Set the communicationUser property: The CommunicationUserIdentifier for whom to issue a token
      Parameters:
      communicationUser - the communicationUser value to set.
      Returns:
      the GetRelayConfigurationOptions object itself.
    • getRouteType

      public RouteType getRouteType()
      Get the routeType property: The routing methodology to where the ICE server will be located from the client.
      Returns:
      the routeType value.
    • setRouteType

      public GetRelayConfigurationOptions setRouteType(RouteType routeType)
      Set the routeType property: The routing methodology to where the ICE server will be located from the client.
      Parameters:
      routeType - the routeType value to set.
      Returns:
      the GetRelayConfigurationOptions object itself.
    • getTtl

      public Integer getTtl()
      Get the ttl property: The specified time to live for the relay credential in seconds
      Returns:
      the time to live value.
    • setTtl

      Set the ttl property: The specified time to live for the relay credential in seconds
      Parameters:
      ttl - the time to live value to set.
      Returns:
      the GetRelayConfigurationOptions object itself.