@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateParticipantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateParticipantRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateParticipantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getContactId()
The identifier of the contact in this instance of Amazon Connect.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
ParticipantDetailsToAdd |
getParticipantDetails()
Information identifying the participant.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
|
String |
toString()
Returns a string representation of this object.
|
CreateParticipantRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateParticipantRequest |
withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
CreateParticipantRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateParticipantRequest |
withParticipantDetails(ParticipantDetailsToAdd participantDetails)
Information identifying the participant.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
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(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
contactId - The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are
supported.public String getContactId()
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
public CreateParticipantRequest withContactId(String contactId)
The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.
contactId - The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are
supported.public void setClientToken(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.
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 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.
public CreateParticipantRequest withClientToken(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.
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 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 ParticipantDetailsToAdd getParticipantDetails()
Information identifying the participant.
The only Valid value for ParticipantRole is CUSTOM_BOT.
DisplayName is Required.
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.
participantDetails - Information identifying the participant.
The only Valid value for ParticipantRole is CUSTOM_BOT.
DisplayName is Required.
public String toString()
toString in class ObjectObject.toString()public CreateParticipantRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()