public class DismissUserContactRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Dismisses contacts from an agent’s CCP and returns the agent to an available
state, which allows the agent to receive a new routed contact. Contacts can
only be dismissed if they are in a MISSED, ERROR,
ENDED, or REJECTED state in the Agent Event Stream.
| Constructor and Description |
|---|
DismissUserContactRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactId()
The identifier of the contact.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getUserId()
The identifier of the user account.
|
int |
hashCode() |
void |
setContactId(java.lang.String contactId)
The identifier of the contact.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setUserId(java.lang.String userId)
The identifier of the user account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DismissUserContactRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
DismissUserContactRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
DismissUserContactRequest |
withUserId(java.lang.String userId)
The identifier of the user account.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserId()
The identifier of the user account.
The identifier of the user account.
public void setUserId(java.lang.String userId)
The identifier of the user account.
userId - The identifier of the user account.
public DismissUserContactRequest withUserId(java.lang.String userId)
The identifier of the user account.
Returns a reference to this object so that method calls can be chained together.
userId - The identifier of the user account.
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public DismissUserContactRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the 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 instanceId in the ARN of the instance.
public java.lang.String getContactId()
The identifier of the contact.
Constraints:
Length: 1 - 256
The identifier of the contact.
public void setContactId(java.lang.String contactId)
The identifier of the contact.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact.
public DismissUserContactRequest withContactId(java.lang.String contactId)
The identifier of the contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact.
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