Interface SearchableRoutingCriteriaStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchableRoutingCriteriaStep.Builder,
,SearchableRoutingCriteriaStep> SdkBuilder<SearchableRoutingCriteriaStep.Builder,
,SearchableRoutingCriteriaStep> SdkPojo
- Enclosing class:
SearchableRoutingCriteriaStep
@Mutable
@NotThreadSafe
public static interface SearchableRoutingCriteriaStep.Builder
extends SdkPojo, CopyableBuilder<SearchableRoutingCriteriaStep.Builder,SearchableRoutingCriteriaStep>
-
Method Summary
Modifier and TypeMethodDescriptionagentCriteria
(Consumer<SearchableAgentCriteriaStep.Builder> agentCriteria) Agent matching the routing step of the routing criteriaagentCriteria
(SearchableAgentCriteriaStep agentCriteria) Agent matching the routing step of the routing criteriaMethods 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
-
agentCriteria
Agent matching the routing step of the routing criteria
- Parameters:
agentCriteria
- Agent matching the routing step of the routing criteria- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCriteria
default SearchableRoutingCriteriaStep.Builder agentCriteria(Consumer<SearchableAgentCriteriaStep.Builder> agentCriteria) Agent matching the routing step of the routing criteria
This is a convenience method that creates an instance of theSearchableAgentCriteriaStep.Builder
avoiding the need to create one manually viaSearchableAgentCriteriaStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentCriteria(SearchableAgentCriteriaStep)
.- Parameters:
agentCriteria
- a consumer that will call methods onSearchableAgentCriteriaStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-