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 Summary
Constructors Constructor Description GetRelayConfigurationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.communication.common.CommunicationUserIdentifier
getCommunicationUserIdentifier()
Get the communicationUser property: The CommunicationUserIdentifier for whom to issue a token.RouteType
getRouteType()
Get the routeType property: The routing methodology to where the ICE server will be located from the client.Integer
getTtl()
Get the ttl property: The specified time to live for the relay credential in secondsGetRelayConfigurationOptions
setCommunicationUserIdentifier(com.azure.communication.common.CommunicationUserIdentifier communicationUser)
Set the communicationUser property: The CommunicationUserIdentifier for whom to issue a tokenGetRelayConfigurationOptions
setRouteType(RouteType routeType)
Set the routeType property: The routing methodology to where the ICE server will be located from the client.GetRelayConfigurationOptions
setTtl(Integer ttl)
Set the ttl property: The specified time to live for the relay credential in seconds
-
-
-
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.
-
-