public class CreateParticipantRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Adds a new participant into an on-going chat contact. For more information, see Customize chat flow experiences by integrating custom participants.
| Constructor and Description |
|---|
CreateParticipantRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getContactId()
The identifier of the contact in this instance of Amazon Connect.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
ParticipantDetailsToAdd |
getParticipantDetails()
Information identifying the participant.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateParticipantRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
CreateParticipantRequest |
withContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
CreateParticipantRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateParticipantRequest |
withParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateParticipantRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getContactId()
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
Constraints:
Length: 1 - 256
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
public void setContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
public CreateParticipantRequest withContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public CreateParticipantRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public ParticipantDetailsToAdd getParticipantDetails()
Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
public void setParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
participantDetails - Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
public CreateParticipantRequest withParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
Returns a reference to this object so that method calls can be chained together.
participantDetails - Information identifying the participant.
The only Valid value for ParticipantRole is
CUSTOM_BOT.
DisplayName is Required.
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