ZestVibe

SmsReceiver (Azure SDK for Java Reference Documentation)

SmsReceiver (Azure SDK for Java Reference Documentation) public final class SmsReceiver extends Object

An SMS receiver.

  • Constructor Summary

    Constructors

    Creates an instance of SmsReceiver class.

  • Method Summary

    All MethodsInstance MethodsConcrete Methods

    Get the countryCode property: The country code of the SMS receiver.

    Get the name property: The name of the SMS receiver.

    Get the phoneNumber property: The phone number of the SMS receiver.

    Get the status property: The status of the receiver.

    void

    Validates the instance.

    Set the countryCode property: The country code of the SMS receiver.

    Set the name property: The name of the SMS receiver.

    Set the phoneNumber property: The phone number of the SMS receiver.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SmsReceiver

      public SmsReceiver()

      Creates an instance of SmsReceiver class.

  • Method Details

    • name

      Get the name property: The name of the SMS receiver. Names must be unique across all receivers within an action group.

      Returns: the name value.
    • withName

      Set the name property: The name of the SMS receiver. Names must be unique across all receivers within an action group.

      Parameters: name - the name value to set. Returns: the SmsReceiver object itself.
    • countryCode

      Get the countryCode property: The country code of the SMS receiver.

      Returns: the countryCode value.
    • withCountryCode

      Set the countryCode property: The country code of the SMS receiver.

      Parameters: countryCode - the countryCode value to set. Returns: the SmsReceiver object itself.
    • phoneNumber

      Get the phoneNumber property: The phone number of the SMS receiver.

      Returns: the phoneNumber value.
    • withPhoneNumber

      Set the phoneNumber property: The phone number of the SMS receiver.

      Parameters: phoneNumber - the phoneNumber value to set. Returns: the SmsReceiver object itself.
    • status

      Get the status property: The status of the receiver.

      Returns: the status value.
    • validate

      public void validate()

      Validates the instance.

      Throws: IllegalArgumentException - thrown if the instance is not valid.

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploopGrrnCt2a6pnmWimsCwwdGcnKaZnpa0pr6MpqanoaSkv3B%2BjWxuZ2hfmLyue8CzrKudX6eytLvUq5qepZGjrqix0WikqKaZqbyze8yom56ko2Sgrr%2Bxnpqeoaaav2%2B006aj

Trudie Dory

Update: 2024-05-25