Interface SearchCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchCriteria.Builder,
,SearchCriteria> SdkBuilder<SearchCriteria.Builder,
,SearchCriteria> SdkPojo
- Enclosing class:
SearchCriteria
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchCriteria.Builder
additionalTimeRange
(Consumer<SearchContactsAdditionalTimeRange.Builder> additionalTimeRange) Additional TimeRange used to filter contacts.additionalTimeRange
(SearchContactsAdditionalTimeRange additionalTimeRange) Additional TimeRange used to filter contacts.default SearchCriteria.Builder
agentHierarchyGroups
(Consumer<AgentHierarchyGroups.Builder> agentHierarchyGroups) The agent hierarchy groups of the agent at the time of handling the contact.agentHierarchyGroups
(AgentHierarchyGroups agentHierarchyGroups) The agent hierarchy groups of the agent at the time of handling the contact.The identifiers of agents who handled the contacts.agentIds
(Collection<String> agentIds) The identifiers of agents who handled the contacts.channels
(Collection<Channel> channels) The list of channels associated with contacts.The list of channels associated with contacts.channelsWithStrings
(String... channels) The list of channels associated with contacts.channelsWithStrings
(Collection<String> channels) The list of channels associated with contacts.default SearchCriteria.Builder
contactAnalysis
(Consumer<ContactAnalysis.Builder> contactAnalysis) Search criteria based on analysis outputs from Amazon Connect Contact Lens.contactAnalysis
(ContactAnalysis contactAnalysis) Search criteria based on analysis outputs from Amazon Connect Contact Lens.initiationMethods
(Collection<ContactInitiationMethod> initiationMethods) The list of initiation methods associated with contacts.initiationMethods
(ContactInitiationMethod... initiationMethods) The list of initiation methods associated with contacts.initiationMethodsWithStrings
(String... initiationMethods) The list of initiation methods associated with contacts.initiationMethodsWithStrings
(Collection<String> initiationMethods) The list of initiation methods associated with contacts.default SearchCriteria.Builder
name
(Consumer<NameCriteria.Builder> name) Name of the contact.name
(NameCriteria name) Name of the contact.The list of queue IDs associated with contacts.queueIds
(Collection<String> queueIds) The list of queue IDs associated with contacts.default SearchCriteria.Builder
routingCriteria
(Consumer<SearchableRoutingCriteria.Builder> routingCriteria) Routing criteria for the contact.routingCriteria
(SearchableRoutingCriteria routingCriteria) Routing criteria for the contact.default SearchCriteria.Builder
searchableContactAttributes
(Consumer<SearchableContactAttributes.Builder> searchableContactAttributes) The search criteria based on user-defined contact attributes that have been configured for contact search.searchableContactAttributes
(SearchableContactAttributes searchableContactAttributes) The search criteria based on user-defined contact attributes that have been configured for contact search.default SearchCriteria.Builder
searchableSegmentAttributes
(Consumer<SearchableSegmentAttributes.Builder> searchableSegmentAttributes) The search criteria based on searchable segment attributes of a contact.searchableSegmentAttributes
(SearchableSegmentAttributes searchableSegmentAttributes) The search criteria based on searchable segment attributes of a contact.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Name of the contact.
- Parameters:
name
- Name of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the contact.
This is a convenience method that creates an instance of theNameCriteria.Builder
avoiding the need to create one manually viaNameCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toname(NameCriteria)
.- Parameters:
name
- a consumer that will call methods onNameCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentIds
The identifiers of agents who handled the contacts.
- Parameters:
agentIds
- The identifiers of agents who handled the contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentIds
The identifiers of agents who handled the contacts.
- Parameters:
agentIds
- The identifiers of agents who handled the contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentHierarchyGroups
The agent hierarchy groups of the agent at the time of handling the contact.
- Parameters:
agentHierarchyGroups
- The agent hierarchy groups of the agent at the time of handling the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentHierarchyGroups
default SearchCriteria.Builder agentHierarchyGroups(Consumer<AgentHierarchyGroups.Builder> agentHierarchyGroups) The agent hierarchy groups of the agent at the time of handling the contact.
This is a convenience method that creates an instance of theAgentHierarchyGroups.Builder
avoiding the need to create one manually viaAgentHierarchyGroups.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentHierarchyGroups(AgentHierarchyGroups)
.- Parameters:
agentHierarchyGroups
- a consumer that will call methods onAgentHierarchyGroups.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelsWithStrings
The list of channels associated with contacts.
- Parameters:
channels
- The list of channels associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelsWithStrings
The list of channels associated with contacts.
- Parameters:
channels
- The list of channels associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The list of channels associated with contacts.
- Parameters:
channels
- The list of channels associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The list of channels associated with contacts.
- Parameters:
channels
- The list of channels associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactAnalysis
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
- Parameters:
contactAnalysis
- Search criteria based on analysis outputs from Amazon Connect Contact Lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactAnalysis
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
This is a convenience method that creates an instance of theContactAnalysis.Builder
avoiding the need to create one manually viaContactAnalysis.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactAnalysis(ContactAnalysis)
.- Parameters:
contactAnalysis
- a consumer that will call methods onContactAnalysis.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initiationMethodsWithStrings
The list of initiation methods associated with contacts.
- Parameters:
initiationMethods
- The list of initiation methods associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiationMethodsWithStrings
The list of initiation methods associated with contacts.
- Parameters:
initiationMethods
- The list of initiation methods associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiationMethods
The list of initiation methods associated with contacts.
- Parameters:
initiationMethods
- The list of initiation methods associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiationMethods
The list of initiation methods associated with contacts.
- Parameters:
initiationMethods
- The list of initiation methods associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueIds
The list of queue IDs associated with contacts.
- Parameters:
queueIds
- The list of queue IDs associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueIds
The list of queue IDs associated with contacts.
- Parameters:
queueIds
- The list of queue IDs associated with contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
Routing criteria for the contact.
- Parameters:
routingCriteria
- Routing criteria for the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingCriteria
default SearchCriteria.Builder routingCriteria(Consumer<SearchableRoutingCriteria.Builder> routingCriteria) Routing criteria for the contact.
This is a convenience method that creates an instance of theSearchableRoutingCriteria.Builder
avoiding the need to create one manually viaSearchableRoutingCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingCriteria(SearchableRoutingCriteria)
.- Parameters:
routingCriteria
- a consumer that will call methods onSearchableRoutingCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalTimeRange
Additional TimeRange used to filter contacts.
- Parameters:
additionalTimeRange
- Additional TimeRange used to filter contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalTimeRange
default SearchCriteria.Builder additionalTimeRange(Consumer<SearchContactsAdditionalTimeRange.Builder> additionalTimeRange) Additional TimeRange used to filter contacts.
This is a convenience method that creates an instance of theSearchContactsAdditionalTimeRange.Builder
avoiding the need to create one manually viaSearchContactsAdditionalTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalTimeRange(SearchContactsAdditionalTimeRange)
.- Parameters:
additionalTimeRange
- a consumer that will call methods onSearchContactsAdditionalTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchableContactAttributes
SearchCriteria.Builder searchableContactAttributes(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, theGetContactAttributes
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.- Parameters:
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, theGetContactAttributes
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchableContactAttributes
default SearchCriteria.Builder searchableContactAttributes(Consumer<SearchableContactAttributes.Builder> 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, theGetContactAttributes
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.Builder
avoiding the need to create one manually viaSearchableContactAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchableContactAttributes(SearchableContactAttributes)
.- Parameters:
searchableContactAttributes
- a consumer that will call methods onSearchableContactAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchableSegmentAttributes
SearchCriteria.Builder searchableSegmentAttributes(SearchableSegmentAttributes searchableSegmentAttributes) The search criteria based on searchable segment attributes of a contact.
- Parameters:
searchableSegmentAttributes
- The search criteria based on searchable segment attributes of a contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchableSegmentAttributes
default SearchCriteria.Builder searchableSegmentAttributes(Consumer<SearchableSegmentAttributes.Builder> searchableSegmentAttributes) The search criteria based on searchable segment attributes of a contact.
This is a convenience method that creates an instance of theSearchableSegmentAttributes.Builder
avoiding the need to create one manually viaSearchableSegmentAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchableSegmentAttributes(SearchableSegmentAttributes)
.- Parameters:
searchableSegmentAttributes
- a consumer that will call methods onSearchableSegmentAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-