@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.
Channelpublic void setChannels(Collection<String> channels)
The list of channels associated with contacts.
channels - The list of channels associated with contacts.Channelpublic 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.Channelpublic SearchCriteria withChannels(Collection<String> channels)
The list of channels associated with contacts.
channels - The list of channels associated with contacts.Channelpublic SearchCriteria withChannels(Channel... channels)
The list of channels associated with contacts.
channels - The list of channels associated with contacts.Channelpublic 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.
ContactInitiationMethodpublic void setInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods - The list of initiation methods associated with contacts.ContactInitiationMethodpublic 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.ContactInitiationMethodpublic SearchCriteria withInitiationMethods(Collection<String> initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods - The list of initiation methods associated with contacts.ContactInitiationMethodpublic SearchCriteria withInitiationMethods(ContactInitiationMethod... initiationMethods)
The list of initiation methods associated with contacts.
initiationMethods - The list of initiation methods associated with contacts.ContactInitiationMethodpublic 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 ObjectObject.toString()public SearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.