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