Interface SearchCriteria.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchCriteria.Builder,,SearchCriteria> SdkBuilder<SearchCriteria.Builder,,SearchCriteria> SdkPojo
- Enclosing class:
SearchCriteria
public static interface SearchCriteria.Builder
extends SdkPojo, CopyableBuilder<SearchCriteria.Builder,SearchCriteria>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SearchFilter> filters) The filters for the search criteria.filters(Consumer<SearchFilter.Builder>... filters) The filters for the search criteria.filters(SearchFilter... filters) The filters for the search criteria.default SearchCriteria.Buildersort(Consumer<Sort.Builder> sort) The sort input for search criteria.The sort input for search criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
The filters for the search criteria.
- Parameters:
filters- The filters for the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters for the search criteria.
- Parameters:
filters- The filters for the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters for the search criteria.
This is a convenience method that creates an instance of theSearchFilter.Builderavoiding the need to create one manually viaSearchFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SearchFilter>).- Parameters:
filters- a consumer that will call methods onSearchFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sort
The sort input for search criteria.
- Parameters:
sort- The sort input for search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
The sort input for search criteria.
This is a convenience method that creates an instance of theSort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(Sort).- Parameters:
sort- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-