PhoneNumberIdentifier (azure-communication-common 1.1.1 API)
James Stevens
Published Feb 16, 2026
- java.lang.Object
public final class PhoneNumberIdentifierextends CommunicationIdentifier
Communication identifier for Communication Services Phone Numbers
Constructor Summary
Constructors Constructor and Description PhoneNumberIdentifier(java.lang.String phoneNumber)Creates a PhoneNumberIdentifier object
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
Method Detail
setRawId
public PhoneNumberIdentifier setRawId(java.lang.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:
setRawIdin classCommunicationIdentifier- Parameters:
rawId- full id of the identifier- Returns:
- PhoneNumberIdentifier object itself