public class MonitorContactRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.
| Constructor and Description |
|---|
MonitorContactRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAllowedMonitorCapabilities()
Specify which monitoring actions the user is allowed to take.
|
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.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getUserId()
The identifier of the user account.
|
int |
hashCode() |
void |
setAllowedMonitorCapabilities(java.util.Collection<java.lang.String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
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.
|
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.
|
MonitorContactRequest |
withAllowedMonitorCapabilities(java.util.Collection<java.lang.String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
MonitorContactRequest |
withAllowedMonitorCapabilities(java.lang.String... allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
MonitorContactRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
MonitorContactRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
MonitorContactRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
MonitorContactRequest |
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 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 MonitorContactRequest 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 MonitorContactRequest 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 getUserId()
The identifier of the user account.
Constraints:
Length: 1 - 256
The identifier of the user account.
public void setUserId(java.lang.String userId)
The identifier of the user account.
Constraints:
Length: 1 - 256
userId - The identifier of the user account.
public MonitorContactRequest 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.
Constraints:
Length: 1 - 256
userId - The identifier of the user account.
public java.util.List<java.lang.String> getAllowedMonitorCapabilities()
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
public void setAllowedMonitorCapabilities(java.util.Collection<java.lang.String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
allowedMonitorCapabilities - Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
public MonitorContactRequest withAllowedMonitorCapabilities(java.lang.String... allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
Returns a reference to this object so that method calls can be chained together.
allowedMonitorCapabilities - Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
public MonitorContactRequest withAllowedMonitorCapabilities(java.util.Collection<java.lang.String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
Returns a reference to this object so that method calls can be chained together.
allowedMonitorCapabilities - Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
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 MonitorContactRequest 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 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