TelephonyChannelResourceApiConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. TelephonyChannelResourceApiConfiguration
- com.
Implements
public final class TelephonyChannelResourceApiConfiguration
implements JsonSerializable<TelephonyChannelResourceApiConfiguration>
A resource Api configuration for the Telephony channel.
Constructor Summary
| Constructor | Description |
|---|---|
| TelephonyChannelResourceApiConfiguration() |
Creates an instance of Telephony |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
cognitiveServiceRegion()
Get the cognitive |
| String |
cognitiveServiceResourceId()
Get the cognitive |
| String |
cognitiveServiceSubscriptionKey()
Get the cognitive |
| String |
defaultLocale()
Get the default |
|
static
Telephony |
fromJson(JsonReader jsonReader)
Reads an instance of Telephony |
| String |
id()
Get the id property: The id of config. |
| String |
providerName()
Get the provider |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Telephony |
withCognitiveServiceRegion(String cognitiveServiceRegion)
Set the cognitive |
|
Telephony |
withCognitiveServiceResourceId(String cognitiveServiceResourceId)
Set the cognitive |
|
Telephony |
withCognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey)
Set the cognitive |
|
Telephony |
withDefaultLocale(String defaultLocale)
Set the default |
|
Telephony |
withId(String id)
Set the id property: The id of config. |
|
Telephony |
withProviderName(String providerName)
Set the provider |
Methods inherited from java.lang.Object
Constructor Details
TelephonyChannelResourceApiConfiguration
public TelephonyChannelResourceApiConfiguration()
Creates an instance of TelephonyChannelResourceApiConfiguration class.
Method Details
cognitiveServiceRegion
public String cognitiveServiceRegion()
Get the cognitiveServiceRegion property: The cognitive service region.
Returns:
cognitiveServiceResourceId
public String cognitiveServiceResourceId()
Get the cognitiveServiceResourceId property: The cognitive service resourceId.
Returns:
cognitiveServiceSubscriptionKey
public String cognitiveServiceSubscriptionKey()
Get the cognitiveServiceSubscriptionKey property: The cognitive service subscription key.
Returns:
defaultLocale
public String defaultLocale()
Get the defaultLocale property: The default locale.
Returns:
fromJson
public static TelephonyChannelResourceApiConfiguration fromJson(JsonReader jsonReader)
Reads an instance of TelephonyChannelResourceApiConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id of config.
Returns:
providerName
public String providerName()
Get the providerName property: The provider name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCognitiveServiceRegion
public TelephonyChannelResourceApiConfiguration withCognitiveServiceRegion(String cognitiveServiceRegion)
Set the cognitiveServiceRegion property: The cognitive service region.
Parameters:
Returns:
withCognitiveServiceResourceId
public TelephonyChannelResourceApiConfiguration withCognitiveServiceResourceId(String cognitiveServiceResourceId)
Set the cognitiveServiceResourceId property: The cognitive service resourceId.
Parameters:
Returns:
withCognitiveServiceSubscriptionKey
public TelephonyChannelResourceApiConfiguration withCognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey)
Set the cognitiveServiceSubscriptionKey property: The cognitive service subscription key.
Parameters:
Returns:
withDefaultLocale
public TelephonyChannelResourceApiConfiguration withDefaultLocale(String defaultLocale)
Set the defaultLocale property: The default locale.
Parameters:
Returns:
withId
public TelephonyChannelResourceApiConfiguration withId(String id)
Set the id property: The id of config.
Parameters:
Returns:
withProviderName
public TelephonyChannelResourceApiConfiguration withProviderName(String providerName)
Set the providerName property: The provider name.
Parameters:
Returns: