public class PutUserStatusRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.
For more information, see Agent status and Set your next status in the Amazon Connect Administrator Guide.
| Constructor and Description |
|---|
PutUserStatusRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentStatusId()
The identifier of the agent status.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getUserId()
The identifier of the user.
|
int |
hashCode() |
void |
setAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setUserId(java.lang.String userId)
The identifier of the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutUserStatusRequest |
withAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
PutUserStatusRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
PutUserStatusRequest |
withUserId(java.lang.String userId)
The identifier of the user.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getUserId()
The identifier of the user.
The identifier of the user.
public void setUserId(java.lang.String userId)
The identifier of the user.
userId - The identifier of the user.
public PutUserStatusRequest withUserId(java.lang.String userId)
The identifier of the user.
Returns a reference to this object so that method calls can be chained together.
userId - The identifier of the user.
public 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 PutUserStatusRequest 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 getAgentStatusId()
The identifier of the agent status.
The identifier of the agent status.
public void setAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
agentStatusId - The identifier of the agent status.
public PutUserStatusRequest withAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
Returns a reference to this object so that method calls can be chained together.
agentStatusId - The identifier of the agent status.
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