CommunicationUserIdentifier Class
- java.
lang. Object - com.
azure. communication. common. CommunicationIdentifier - com.
azure. communication. common. CommunicationUserIdentifier
- com.
- com.
public final class CommunicationUserIdentifier
extends CommunicationIdentifier
Communication identifier for Communication Services Users
Constructor Summary
Constructor | Description |
---|---|
CommunicationUserIdentifier(String id) |
Creates a Communication |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object that) |
String |
getId()
Get id of the communication user. |
int | hashCode() |
protected
Communication |
setRawId(String rawId)
Set full id of the identifier Raw |
Methods inherited from CommunicationIdentifier
Methods inherited from java.lang.Object
Constructor Details
CommunicationUserIdentifier
public CommunicationUserIdentifier(String id)
Creates a CommunicationUserIdentifier object
Parameters:
Method Details
equals
public boolean equals(Object that)
Overrides:
CommunicationUserIdentifier.equals(Object that)Parameters:
getId
public String getId()
Get id of the communication user.
Returns:
hashCode
public int hashCode()
Overrides:
CommunicationUserIdentifier.hashCode()setRawId
protected CommunicationUserIdentifier 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:
CommunicationUserIdentifier.setRawId(String rawId)Parameters:
Returns:
Applies to
Azure SDK for Java