Class GetRelayConfigurationOptions
java.lang.Object
com.azure.communication.networktraversal.models.GetRelayConfigurationOptions
Additional options for getting a relay configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the communicationUser property: The CommunicationUserIdentifier for whom to issue a token.Get the routeType property: The routing methodology to where the ICE server will be located from the client.getTtl()
Get the ttl property: The specified time to live for the relay credential in secondssetCommunicationUserIdentifier
(CommunicationUserIdentifier communicationUser) Set the communicationUser property: The CommunicationUserIdentifier for whom to issue a tokensetRouteType
(RouteType routeType) Set the routeType property: The routing methodology to where the ICE server will be located from the client.Set the ttl property: The specified time to live for the relay credential in seconds
-
Constructor Details
-
GetRelayConfigurationOptions
public GetRelayConfigurationOptions()
-
-
Method Details
-
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
Get the routeType property: The routing methodology to where the ICE server will be located from the client.- Returns:
- the routeType value.
-
setRouteType
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
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.
-