Class VoiceReceiver
java.lang.Object
com.microsoft.azure.management.monitor.VoiceReceiver
A voice receiver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the country code of the voice receiver.name()
Get the name of the voice receiver.Get the phone number of the voice receiver.withCountryCode
(String countryCode) Set the country code of the voice receiver.Set the name of the voice receiver.withPhoneNumber
(String phoneNumber) Set the phone number of the voice receiver.
-
Constructor Details
-
VoiceReceiver
public VoiceReceiver()
-
-
Method Details
-
name
Get the name of the voice receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value
-
withName
Set the name of the voice receiver. Names must be unique across all receivers within an action group.- Parameters:
name
- the name value to set- Returns:
- the VoiceReceiver object itself.
-
countryCode
Get the country code of the voice receiver.- Returns:
- the countryCode value
-
withCountryCode
Set the country code of the voice receiver.- Parameters:
countryCode
- the countryCode value to set- Returns:
- the VoiceReceiver object itself.
-
phoneNumber
Get the phone number of the voice receiver.- Returns:
- the phoneNumber value
-
withPhoneNumber
Set the phone number of the voice receiver.- Parameters:
phoneNumber
- the phoneNumber value to set- Returns:
- the VoiceReceiver object itself.
-