Class GetRelayConfigurationOptions


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

      • GetRelayConfigurationOptions

        public GetRelayConfigurationOptions()
    • Method Detail

      • getCommunicationUserIdentifier

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

        public GetRelayConfigurationOptions setCommunicationUserIdentifier​(com.azure.communication.common.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

        public GetRelayConfigurationOptions setTtl​(Integer ttl)
        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.