@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchCriteria extends Object implements Serializable, Cloneable, StructuredPojo
A structure of search criteria to be used to return contacts.
Constructor and Description |
---|
SearchCriteria() |
Modifier and Type | Method and Description |
---|---|
SearchCriteria |
clone() |
boolean |
equals(Object obj) |
AgentHierarchyGroups |
getAgentHierarchyGroups()
The agent hierarchy groups of the agent at the time of handling the contact.
|
List<String> |
getAgentIds()
The identifiers of agents who handled the contacts.
|
List<String> |
getChannels()
The list of channels associated with contacts.
|
ContactAnalysis |
getContactAnalysis()
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
|
List<String> |
getInitiationMethods()
The list of initiation methods associated with contacts.
|
List<String> |
getQueueIds()
The list of queue IDs associated with contacts.
|
SearchableContactAttributes |
getSearchableContactAttributes()
The search criteria based on user-defined contact attributes that have been configured for contact search.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentHierarchyGroups(AgentHierarchyGroups agentHierarchyGroups)
The agent hierarchy groups of the agent at the time of handling the contact.
|
void |
setAgentIds(Collection<String> agentIds)
The identifiers of agents who handled the contacts.
|
void |
setChannels(Collection<String> channels)
The list of channels associated with contacts.
|
void |
setContactAnalysis(ContactAnalysis contactAnalysis)
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
|
void |
setInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
|
void |
setQueueIds(Collection<String> queueIds)
The list of queue IDs associated with contacts.
|
void |
setSearchableContactAttributes(SearchableContactAttributes searchableContactAttributes)
The search criteria based on user-defined contact attributes that have been configured for contact search.
|
String |
toString()
Returns a string representation of this object.
|
SearchCriteria |
withAgentHierarchyGroups(AgentHierarchyGroups agentHierarchyGroups)
The agent hierarchy groups of the agent at the time of handling the contact.
|
SearchCriteria |
withAgentIds(Collection<String> agentIds)
The identifiers of agents who handled the contacts.
|
SearchCriteria |
withAgentIds(String... agentIds)
The identifiers of agents who handled the contacts.
|
SearchCriteria |
withChannels(Channel... channels)
The list of channels associated with contacts.
|
SearchCriteria |
withChannels(Collection<String> channels)
The list of channels associated with contacts.
|
SearchCriteria |
withChannels(String... channels)
The list of channels associated with contacts.
|
SearchCriteria |
withContactAnalysis(ContactAnalysis contactAnalysis)
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
|
SearchCriteria |
withInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
|
SearchCriteria |
withInitiationMethods(ContactInitiationMethod... initiationMethods)
The list of initiation methods associated with contacts.
|
SearchCriteria |
withInitiationMethods(String... initiationMethods)
The list of initiation methods associated with contacts.
|
SearchCriteria |
withQueueIds(Collection<String> queueIds)
The list of queue IDs associated with contacts.
|
SearchCriteria |
withQueueIds(String... queueIds)
The list of queue IDs associated with contacts.
|
SearchCriteria |
withSearchableContactAttributes(SearchableContactAttributes searchableContactAttributes)
The search criteria based on user-defined contact attributes that have been configured for contact search.
|
public List<String> getAgentIds()
The identifiers of agents who handled the contacts.
public void setAgentIds(Collection<String> agentIds)
The identifiers of agents who handled the contacts.
agentIds
- The identifiers of agents who handled the contacts.public SearchCriteria withAgentIds(String... agentIds)
The identifiers of agents who handled the contacts.
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
- The identifiers of agents who handled the contacts.public SearchCriteria withAgentIds(Collection<String> agentIds)
The identifiers of agents who handled the contacts.
agentIds
- The identifiers of agents who handled the contacts.public void setAgentHierarchyGroups(AgentHierarchyGroups agentHierarchyGroups)
The agent hierarchy groups of the agent at the time of handling the contact.
agentHierarchyGroups
- The agent hierarchy groups of the agent at the time of handling the contact.public AgentHierarchyGroups getAgentHierarchyGroups()
The agent hierarchy groups of the agent at the time of handling the contact.
public SearchCriteria withAgentHierarchyGroups(AgentHierarchyGroups agentHierarchyGroups)
The agent hierarchy groups of the agent at the time of handling the contact.
agentHierarchyGroups
- The agent hierarchy groups of the agent at the time of handling the contact.public List<String> getChannels()
The list of channels associated with contacts.
Channel
public void setChannels(Collection<String> channels)
The list of channels associated with contacts.
channels
- The list of channels associated with contacts.Channel
public SearchCriteria withChannels(String... channels)
The list of channels associated with contacts.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection)
or withChannels(java.util.Collection)
if you want to override
the existing values.
channels
- The list of channels associated with contacts.Channel
public SearchCriteria withChannels(Collection<String> channels)
The list of channels associated with contacts.
channels
- The list of channels associated with contacts.Channel
public SearchCriteria withChannels(Channel... channels)
The list of channels associated with contacts.
channels
- The list of channels associated with contacts.Channel
public void setContactAnalysis(ContactAnalysis contactAnalysis)
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
contactAnalysis
- Search criteria based on analysis outputs from Amazon Connect Contact Lens.public ContactAnalysis getContactAnalysis()
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
public SearchCriteria withContactAnalysis(ContactAnalysis contactAnalysis)
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
contactAnalysis
- Search criteria based on analysis outputs from Amazon Connect Contact Lens.public List<String> getInitiationMethods()
The list of initiation methods associated with contacts.
ContactInitiationMethod
public void setInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods
- The list of initiation methods associated with contacts.ContactInitiationMethod
public SearchCriteria withInitiationMethods(String... initiationMethods)
The list of initiation methods associated with contacts.
NOTE: This method appends the values to the existing list (if any). Use
setInitiationMethods(java.util.Collection)
or withInitiationMethods(java.util.Collection)
if
you want to override the existing values.
initiationMethods
- The list of initiation methods associated with contacts.ContactInitiationMethod
public SearchCriteria withInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods
- The list of initiation methods associated with contacts.ContactInitiationMethod
public SearchCriteria withInitiationMethods(ContactInitiationMethod... initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods
- The list of initiation methods associated with contacts.ContactInitiationMethod
public List<String> getQueueIds()
The list of queue IDs associated with contacts.
public void setQueueIds(Collection<String> queueIds)
The list of queue IDs associated with contacts.
queueIds
- The list of queue IDs associated with contacts.public SearchCriteria withQueueIds(String... queueIds)
The list of queue IDs associated with contacts.
NOTE: This method appends the values to the existing list (if any). Use
setQueueIds(java.util.Collection)
or withQueueIds(java.util.Collection)
if you want to override
the existing values.
queueIds
- The list of queue IDs associated with contacts.public SearchCriteria withQueueIds(Collection<String> queueIds)
The list of queue IDs associated with contacts.
queueIds
- The list of queue IDs associated with contacts.public void setSearchableContactAttributes(SearchableContactAttributes searchableContactAttributes)
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action
is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions
-as-permissionsActions defined by Amazon Connect.
searchableContactAttributes
- The search criteria based on user-defined contact attributes that have been configured for contact search.
For more information, see Search by
custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-
actions-as-permissionsActions defined by Amazon Connect.
public SearchableContactAttributes getSearchableContactAttributes()
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action
is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions
-as-permissionsActions defined by Amazon Connect.
To use SearchableContactAttributes
in a search request, the
GetContactAttributes
action is required to perform an API request. For more information, see
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect
-actions-as-permissionsActions defined by Amazon Connect.
public SearchCriteria withSearchableContactAttributes(SearchableContactAttributes searchableContactAttributes)
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action
is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions
-as-permissionsActions defined by Amazon Connect.
searchableContactAttributes
- The search criteria based on user-defined contact attributes that have been configured for contact search.
For more information, see Search by
custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-
actions-as-permissionsActions defined by Amazon Connect.
public String toString()
toString
in class Object
Object.toString()
public SearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.