public class CreateParticipantResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
CreateParticipantResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ParticipantTokenCredentials |
getParticipantCredentials()
The token used by the chat participant to call
CreateParticipantConnection. |
java.lang.String |
getParticipantId()
The identifier for a chat participant.
|
int |
hashCode() |
void |
setParticipantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. |
void |
setParticipantId(java.lang.String participantId)
The identifier for a chat participant.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateParticipantResult |
withParticipantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. |
CreateParticipantResult |
withParticipantId(java.lang.String participantId)
The identifier for a chat participant.
|
public ParticipantTokenCredentials getParticipantCredentials()
The token used by the chat participant to call
CreateParticipantConnection. The participant token is valid
for the lifetime of a chat participant.
The token used by the chat participant to call
CreateParticipantConnection. The participant token
is valid for the lifetime of a chat participant.
public void setParticipantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. The participant token is valid
for the lifetime of a chat participant.
participantCredentials -
The token used by the chat participant to call
CreateParticipantConnection. The participant
token is valid for the lifetime of a chat participant.
public CreateParticipantResult withParticipantCredentials(ParticipantTokenCredentials participantCredentials)
The token used by the chat participant to call
CreateParticipantConnection. The participant token is valid
for the lifetime of a chat participant.
Returns a reference to this object so that method calls can be chained together.
participantCredentials -
The token used by the chat participant to call
CreateParticipantConnection. The participant
token is valid for the lifetime of a chat participant.
public java.lang.String getParticipantId()
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
Constraints:
Length: 1 - 256
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
public void setParticipantId(java.lang.String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
Constraints:
Length: 1 - 256
participantId - The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
public CreateParticipantResult withParticipantId(java.lang.String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
participantId - The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object