Class OrderSearchExistsExpressionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchExistsExpressionBuilder
- All Implemented Interfaces:
Builder<OrderSearchExistsExpression>
public class OrderSearchExistsExpressionBuilder
extends Object
implements Builder<OrderSearchExistsExpression>
OrderSearchExistsExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchExistsExpression orderSearchExistsExpression = OrderSearchExistsExpression.builder()
.exists(existsBuilder -> existsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSearchExistsExpression with checking for non-null required valuesbuilds OrderSearchExistsExpression without checking for non-null required valuesset the value to the existsexists
(Function<OrderSearchQueryExpressionValueBuilder, OrderSearchQueryExpressionValueBuilder> builder) set the value to the exists using the builder functionvalue of exists}of()
factory method for an instance of OrderSearchExistsExpressionBuilderof
(OrderSearchExistsExpression template) create builder for OrderSearchExistsExpression instancewithExists
(Function<OrderSearchQueryExpressionValueBuilder, OrderSearchQueryExpressionValue> builder) set the value to the exists using the builder function
-
Constructor Details
-
OrderSearchExistsExpressionBuilder
public OrderSearchExistsExpressionBuilder()
-
-
Method Details
-
exists
public OrderSearchExistsExpressionBuilder exists(Function<OrderSearchQueryExpressionValueBuilder, OrderSearchQueryExpressionValueBuilder> builder) set the value to the exists using the builder function- Parameters:
builder
- function to build the exists value- Returns:
- Builder
-
withExists
public OrderSearchExistsExpressionBuilder withExists(Function<OrderSearchQueryExpressionValueBuilder, OrderSearchQueryExpressionValue> builder) set the value to the exists using the builder function- Parameters:
builder
- function to build the exists value- Returns:
- Builder
-
exists
set the value to the exists- Parameters:
exists
- value to be set- Returns:
- Builder
-
getExists
value of exists}- Returns:
- exists
-
build
builds OrderSearchExistsExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchExistsExpression>
- Returns:
- OrderSearchExistsExpression
-
buildUnchecked
builds OrderSearchExistsExpression without checking for non-null required values- Returns:
- OrderSearchExistsExpression
-
of
factory method for an instance of OrderSearchExistsExpressionBuilder- Returns:
- builder
-
of
create builder for OrderSearchExistsExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-