PhoneNumberIdentifier Class
- java.
lang. Object - com.
azure. communication. common. CommunicationIdentifier - com.
azure. communication. common. PhoneNumberIdentifier
- com.
- com.
public final class PhoneNumberIdentifier
extends CommunicationIdentifier
Communication identifier for Communication Services Phone Numbers
Constructor Summary
Constructor | Description |
---|---|
PhoneNumberIdentifier(String phoneNumber) |
Creates a Phone |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object that) |
String | getPhoneNumber() |
int | hashCode() |
Phone |
setRawId(String rawId)
Set full id of the identifier Raw |
Methods inherited from CommunicationIdentifier
Methods inherited from java.lang.Object
Constructor Details
PhoneNumberIdentifier
public PhoneNumberIdentifier(String phoneNumber)
Creates a PhoneNumberIdentifier object
Parameters:
Method Details
equals
public boolean equals(Object that)
Overrides:
PhoneNumberIdentifier.equals(Object that)Parameters:
getPhoneNumber
public String getPhoneNumber()
Returns:
hashCode
public int hashCode()
Overrides:
PhoneNumberIdentifier.hashCode()setRawId
public PhoneNumberIdentifier setRawId(String rawId)
Set full id of the identifier RawId is the encoded format for identifiers to store in databases or as stable keys in general.
Overrides:
PhoneNumberIdentifier.setRawId(String rawId)Parameters:
Returns:
Applies to
Azure SDK for Java