@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartChatContactResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StartChatContactResult() |
Modifier and Type | Method and Description |
---|---|
StartChatContactResult |
clone() |
boolean |
equals(Object obj) |
String |
getContactId()
The identifier of this contact within the Amazon Connect instance.
|
String |
getContinuedFromContactId()
The contactId from which a persistent chat session is started.
|
String |
getParticipantId()
The identifier for a chat participant.
|
String |
getParticipantToken()
The token used by the chat participant to call CreateParticipantConnection.
|
int |
hashCode() |
void |
setContactId(String contactId)
The identifier of this contact within the Amazon Connect instance.
|
void |
setContinuedFromContactId(String continuedFromContactId)
The contactId from which a persistent chat session is started.
|
void |
setParticipantId(String participantId)
The identifier for a chat participant.
|
void |
setParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection.
|
String |
toString()
Returns a string representation of this object.
|
StartChatContactResult |
withContactId(String contactId)
The identifier of this contact within the Amazon Connect instance.
|
StartChatContactResult |
withContinuedFromContactId(String continuedFromContactId)
The contactId from which a persistent chat session is started.
|
StartChatContactResult |
withParticipantId(String participantId)
The identifier for a chat participant.
|
StartChatContactResult |
withParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContactId(String contactId)
The identifier of this contact within the Amazon Connect instance.
contactId
- The identifier of this contact within the Amazon Connect instance.public String getContactId()
The identifier of this contact within the Amazon Connect instance.
public StartChatContactResult withContactId(String contactId)
The identifier of this contact within the Amazon Connect instance.
contactId
- The identifier of this contact within the Amazon Connect instance.public void setParticipantId(String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
participantId
- The identifier for a chat participant. The participantId for a chat participant is the same throughout the
chat lifecycle.public String getParticipantId()
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
public StartChatContactResult withParticipantId(String participantId)
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
participantId
- The identifier for a chat participant. The participantId for a chat participant is the same throughout the
chat lifecycle.public void setParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
participantToken
- The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.public String getParticipantToken()
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
public StartChatContactResult withParticipantToken(String participantToken)
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
participantToken
- The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.public void setContinuedFromContactId(String continuedFromContactId)
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
continuedFromContactId
- The contactId from which a persistent chat session is started. This field is populated only for persistent
chats.public String getContinuedFromContactId()
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
public StartChatContactResult withContinuedFromContactId(String continuedFromContactId)
The contactId from which a persistent chat session is started. This field is populated only for persistent chats.
continuedFromContactId
- The contactId from which a persistent chat session is started. This field is populated only for persistent
chats.public String toString()
toString
in class Object
Object.toString()
public StartChatContactResult clone()