@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitorContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
MonitorContactRequest() |
Modifier and Type | Method and Description |
---|---|
MonitorContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowedMonitorCapabilities()
Specify which monitoring actions the user is allowed to take.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getContactId()
The identifier of the contact.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getUserId()
The identifier of the user account.
|
int |
hashCode() |
void |
setAllowedMonitorCapabilities(Collection<String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
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.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setUserId(String userId)
The identifier of the user account.
|
String |
toString()
Returns a string representation of this object.
|
MonitorContactRequest |
withAllowedMonitorCapabilities(Collection<String> allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
MonitorContactRequest |
withAllowedMonitorCapabilities(MonitorCapability... allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
MonitorContactRequest |
withAllowedMonitorCapabilities(String... allowedMonitorCapabilities)
Specify which monitoring actions the user is allowed to take.
|
MonitorContactRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
MonitorContactRequest |
withContactId(String contactId)
The identifier of the contact.
|
MonitorContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
MonitorContactRequest |
withUserId(String userId)
The identifier of the user account.
|
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, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public MonitorContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public void setContactId(String contactId)
The identifier of the contact.
contactId
- The identifier of the contact.public String getContactId()
The identifier of the contact.
public MonitorContactRequest withContactId(String contactId)
The identifier of the contact.
contactId
- The identifier of the contact.public void setUserId(String userId)
The identifier of the user account.
userId
- The identifier of the user account.public String getUserId()
The identifier of the user account.
public MonitorContactRequest withUserId(String userId)
The identifier of the user account.
userId
- The identifier of the user account.public List<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. AllowedMonitorCapabilities is required if barge is enabled.
MonitorCapability
public void setAllowedMonitorCapabilities(Collection<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 is required if barge is enabled.
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 is required if barge is enabled.MonitorCapability
public MonitorContactRequest withAllowedMonitorCapabilities(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 is required if barge is enabled.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedMonitorCapabilities(java.util.Collection)
or
withAllowedMonitorCapabilities(java.util.Collection)
if you want to override the existing values.
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 is required if barge is enabled.MonitorCapability
public MonitorContactRequest withAllowedMonitorCapabilities(Collection<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 is required if barge is enabled.
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 is required if barge is enabled.MonitorCapability
public MonitorContactRequest withAllowedMonitorCapabilities(MonitorCapability... 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 is required if barge is enabled.
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 is required if barge is enabled.MonitorCapability
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 MonitorContactRequest 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 String toString()
toString
in class Object
Object.toString()
public MonitorContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()