public class UpdateAgentStatusRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
| Constructor and Description |
|---|
UpdateAgentStatusRequest() |
| 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 |
getDescription()
The description of the agent status.
|
java.lang.Integer |
getDisplayOrder()
The display order of the agent status.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the agent status.
|
java.lang.Boolean |
getResetOrderNumber()
A number indicating the reset order of the agent status.
|
java.lang.String |
getState()
The state of the agent status.
|
int |
hashCode() |
java.lang.Boolean |
isResetOrderNumber()
A number indicating the reset order of the agent status.
|
void |
setAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
void |
setDescription(java.lang.String description)
The description of the agent status.
|
void |
setDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the agent status.
|
void |
setResetOrderNumber(java.lang.Boolean resetOrderNumber)
A number indicating the reset order of the agent status.
|
void |
setState(AgentStatusState state)
The state of the agent status.
|
void |
setState(java.lang.String state)
The state of the agent status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAgentStatusRequest |
withAgentStatusId(java.lang.String agentStatusId)
The identifier of the agent status.
|
UpdateAgentStatusRequest |
withDescription(java.lang.String description)
The description of the agent status.
|
UpdateAgentStatusRequest |
withDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
|
UpdateAgentStatusRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateAgentStatusRequest |
withName(java.lang.String name)
The name of the agent status.
|
UpdateAgentStatusRequest |
withResetOrderNumber(java.lang.Boolean resetOrderNumber)
A number indicating the reset order of the agent status.
|
UpdateAgentStatusRequest |
withState(AgentStatusState state)
The state of the agent status.
|
UpdateAgentStatusRequest |
withState(java.lang.String state)
The state of the agent status.
|
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 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 UpdateAgentStatusRequest 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 UpdateAgentStatusRequest 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 getName()
The name of the agent status.
Constraints:
Length: 1 - 127
The name of the agent status.
public void setName(java.lang.String name)
The name of the agent status.
Constraints:
Length: 1 - 127
name - The name of the agent status.
public UpdateAgentStatusRequest withName(java.lang.String name)
The name of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the agent status.
public java.lang.String getDescription()
The description of the agent status.
Constraints:
Length: 0 - 250
The description of the agent status.
public void setDescription(java.lang.String description)
The description of the agent status.
Constraints:
Length: 0 - 250
description - The description of the agent status.
public UpdateAgentStatusRequest withDescription(java.lang.String description)
The description of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 250
description - The description of the agent status.
public java.lang.String getState()
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
The state of the agent status.
AgentStatusStatepublic void setState(java.lang.String state)
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic UpdateAgentStatusRequest withState(java.lang.String state)
The state of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic void setState(AgentStatusState state)
The state of the agent status.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic UpdateAgentStatusRequest withState(AgentStatusState state)
The state of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
state - The state of the agent status.
AgentStatusStatepublic java.lang.Integer getDisplayOrder()
The display order of the agent status.
Constraints:
Range: 1 - 50
The display order of the agent status.
public void setDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
Constraints:
Range: 1 - 50
displayOrder - The display order of the agent status.
public UpdateAgentStatusRequest withDisplayOrder(java.lang.Integer displayOrder)
The display order of the agent status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
displayOrder - The display order of the agent status.
public java.lang.Boolean isResetOrderNumber()
A number indicating the reset order of the agent status.
A number indicating the reset order of the agent status.
public java.lang.Boolean getResetOrderNumber()
A number indicating the reset order of the agent status.
A number indicating the reset order of the agent status.
public void setResetOrderNumber(java.lang.Boolean resetOrderNumber)
A number indicating the reset order of the agent status.
resetOrderNumber - A number indicating the reset order of the agent status.
public UpdateAgentStatusRequest withResetOrderNumber(java.lang.Boolean resetOrderNumber)
A number indicating the reset order of the agent status.
Returns a reference to this object so that method calls can be chained together.
resetOrderNumber - A number indicating the reset order 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