@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentsCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Can be used to define a list of preferred agents to target the contact within the queue. Note that agents must have the queue in their routing profile in order to be offered the contact.
Constructor and Description |
---|
AgentsCriteria() |
Modifier and Type | Method and Description |
---|---|
AgentsCriteria |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAgentIds()
An object to specify a list of agents, by Agent ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentIds(Collection<String> agentIds)
An object to specify a list of agents, by Agent ID.
|
String |
toString()
Returns a string representation of this object.
|
AgentsCriteria |
withAgentIds(Collection<String> agentIds)
An object to specify a list of agents, by Agent ID.
|
AgentsCriteria |
withAgentIds(String... agentIds)
An object to specify a list of agents, by Agent ID.
|
public List<String> getAgentIds()
An object to specify a list of agents, by Agent ID.
public void setAgentIds(Collection<String> agentIds)
An object to specify a list of agents, by Agent ID.
agentIds
- An object to specify a list of agents, by Agent ID.public AgentsCriteria withAgentIds(String... agentIds)
An object to specify a list of agents, by Agent ID.
NOTE: This method appends the values to the existing list (if any). Use
setAgentIds(java.util.Collection)
or withAgentIds(java.util.Collection)
if you want to override
the existing values.
agentIds
- An object to specify a list of agents, by Agent ID.public AgentsCriteria withAgentIds(Collection<String> agentIds)
An object to specify a list of agents, by Agent ID.
agentIds
- An object to specify a list of agents, by Agent ID.public String toString()
toString
in class Object
Object.toString()
public AgentsCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.