Package com.azure.communication.common
Class UnknownIdentifier
java.lang.Object
com.azure.communication.common.CommunicationIdentifier
com.azure.communication.common.UnknownIdentifier
Catch-all for all other Communication identifiers for Communication Services
-
Constructor Summary
-
Method Summary
Methods inherited from class com.azure.communication.common.CommunicationIdentifier
fromRawId, getRawId
-
Constructor Details
-
UnknownIdentifier
Creates an UnknownIdentifier object- Parameters:
id
- the string identifier representing the identity- Throws:
IllegalArgumentException
- thrown if id parameter fail the validation.
-
-
Method Details
-
getId
Get id of this identifier- Returns:
- id of this identifier
-
setRawId
Set full id of the identifier RawId is the encoded format for identifiers to store in databases or as stable keys in general.- Overrides:
setRawId
in classCommunicationIdentifier
- Parameters:
rawId
- full id of the identifier- Returns:
- UnknownIdentifier object itself
-
equals
- Overrides:
equals
in classCommunicationIdentifier
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCommunicationIdentifier
-