PstnConfiguration Class

  • java.lang.Object
    • com.azure.communication.administration.models.PstnConfiguration

public final class PstnConfiguration

The PstnConfiguration model.

Constructor Summary

Constructor Description
PstnConfiguration()

Method Summary

Modifier and Type Method and Description
String getApplicationId()

Get the applicationId property: The application id of the application to which to configure.

String getCallbackUrl()

Get the callbackUrl property: The webhook URL on the phone number configuration.

PstnConfiguration setApplicationId(String applicationId)

Set the applicationId property: The application id of the application to which to configure.

PstnConfiguration setCallbackUrl(String callbackUrl)

Set the callbackUrl property: The webhook URL on the phone number configuration.

Methods inherited from java.lang.Object

Constructor Details

PstnConfiguration

public PstnConfiguration()

Method Details

getApplicationId

public String getApplicationId()

Get the applicationId property: The application id of the application to which to configure.

Returns:

the applicationId value.

getCallbackUrl

public String getCallbackUrl()

Get the callbackUrl property: The webhook URL on the phone number configuration.

Returns:

the callbackUrl value.

setApplicationId

public PstnConfiguration setApplicationId(String applicationId)

Set the applicationId property: The application id of the application to which to configure.

Parameters:

applicationId - the applicationId value to set.

Returns:

the PstnConfiguration object itself.

setCallbackUrl

public PstnConfiguration setCallbackUrl(String callbackUrl)

Set the callbackUrl property: The webhook URL on the phone number configuration.

Parameters:

callbackUrl - the callbackUrl value to set.

Returns:

the PstnConfiguration object itself.

Applies to