Class SearchWildCardExpressionBuilder
java.lang.Object
com.commercetools.api.models.search.SearchWildCardExpressionBuilder
- All Implemented Interfaces:
Builder<SearchWildCardExpression>
public class SearchWildCardExpressionBuilder
extends Object
implements Builder<SearchWildCardExpression>
SearchWildCardExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchWildCardExpression searchWildCardExpression = SearchWildCardExpression.builder()
.wildcard(wildcardBuilder -> wildcardBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds SearchWildCardExpression with checking for non-null required valuesbuilds SearchWildCardExpression without checking for non-null required valuesvalue of wildcard}of()
factory method for an instance of SearchWildCardExpressionBuilderof
(SearchWildCardExpression template) create builder for SearchWildCardExpression instancewildcard
(SearchAnyValue wildcard) set the value to the wildcardset the value to the wildcard using the builder functionset the value to the wildcard using the builder function
-
Constructor Details
-
SearchWildCardExpressionBuilder
public SearchWildCardExpressionBuilder()
-
-
Method Details
-
wildcard
public SearchWildCardExpressionBuilder wildcard(Function<SearchAnyValueBuilder, SearchAnyValueBuilder> builder) set the value to the wildcard using the builder function- Parameters:
builder
- function to build the wildcard value- Returns:
- Builder
-
withWildcard
public SearchWildCardExpressionBuilder withWildcard(Function<SearchAnyValueBuilder, SearchAnyValue> builder) set the value to the wildcard using the builder function- Parameters:
builder
- function to build the wildcard value- Returns:
- Builder
-
wildcard
set the value to the wildcard- Parameters:
wildcard
- value to be set- Returns:
- Builder
-
getWildcard
value of wildcard}- Returns:
- wildcard
-
build
builds SearchWildCardExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchWildCardExpression>
- Returns:
- SearchWildCardExpression
-
buildUnchecked
builds SearchWildCardExpression without checking for non-null required values- Returns:
- SearchWildCardExpression
-
of
factory method for an instance of SearchWildCardExpressionBuilder- Returns:
- builder
-
of
create builder for SearchWildCardExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-