Interface SearchableSegmentAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchableSegmentAttributes.Builder,SearchableSegmentAttributes>,SdkBuilder<SearchableSegmentAttributes.Builder,SearchableSegmentAttributes>,SdkPojo
- Enclosing class:
- SearchableSegmentAttributes
public static interface SearchableSegmentAttributes.Builder extends SdkPojo, CopyableBuilder<SearchableSegmentAttributes.Builder,SearchableSegmentAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchableSegmentAttributes.Buildercriteria(Collection<SearchableSegmentAttributesCriteria> criteria)The list of criteria based on searchable segment attributes.SearchableSegmentAttributes.Buildercriteria(Consumer<SearchableSegmentAttributesCriteria.Builder>... criteria)The list of criteria based on searchable segment attributes.SearchableSegmentAttributes.Buildercriteria(SearchableSegmentAttributesCriteria... criteria)The list of criteria based on searchable segment attributes.SearchableSegmentAttributes.BuildermatchType(String matchType)The match type combining search criteria using multiple searchable segment attributes.SearchableSegmentAttributes.BuildermatchType(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 Detail
-
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
SearchableSegmentAttributes.Builder criteria(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
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.Builderavoiding the need to create one manually viaSearchableSegmentAttributesCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#criteria(List.) - 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:
#criteria(java.util.Collection)
-
matchType
SearchableSegmentAttributes.Builder matchType(String 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:
SearchContactsMatchType,SearchContactsMatchType
-
matchType
SearchableSegmentAttributes.Builder matchType(SearchContactsMatchType 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:
SearchContactsMatchType,SearchContactsMatchType
-
-