Interface SearchableContactAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchableContactAttributes.Builder,
,SearchableContactAttributes> SdkBuilder<SearchableContactAttributes.Builder,
,SearchableContactAttributes> SdkPojo
- Enclosing class:
SearchableContactAttributes
@Mutable
@NotThreadSafe
public static interface SearchableContactAttributes.Builder
extends SdkPojo, CopyableBuilder<SearchableContactAttributes.Builder,SearchableContactAttributes>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of criteria based on user-defined contact attributes that are configured for contact search.criteria
(Consumer<SearchableContactAttributesCriteria.Builder>... criteria) The list of criteria based on user-defined contact attributes that are configured for contact search.criteria
(SearchableContactAttributesCriteria... criteria) The list of criteria based on user-defined contact attributes that are configured for contact search.The match type combining search criteria using multiple searchable contact attributes.matchType
(SearchContactsMatchType matchType) The match type combining search criteria using multiple searchable contact attributes.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
-
criteria
SearchableContactAttributes.Builder criteria(Collection<SearchableContactAttributesCriteria> criteria) The list of criteria based on user-defined contact attributes that are configured for contact search.
- Parameters:
criteria
- The list of criteria based on user-defined contact attributes that are configured for contact search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
The list of criteria based on user-defined contact attributes that are configured for contact search.
- Parameters:
criteria
- The list of criteria based on user-defined contact attributes that are configured for contact search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
SearchableContactAttributes.Builder criteria(Consumer<SearchableContactAttributesCriteria.Builder>... criteria) The list of criteria based on user-defined contact attributes that are configured for contact search.
This is a convenience method that creates an instance of theSearchableContactAttributesCriteria.Builder
avoiding the need to create one manually viaSearchableContactAttributesCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocriteria(List<SearchableContactAttributesCriteria>)
.- Parameters:
criteria
- a consumer that will call methods onSearchableContactAttributesCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchType
The match type combining search criteria using multiple searchable contact attributes.
- Parameters:
matchType
- The match type combining search criteria using multiple searchable contact attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchType
The match type combining search criteria using multiple searchable contact attributes.
- Parameters:
matchType
- The match type combining search criteria using multiple searchable contact attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-