Class OrderSearchFullTextExpressionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSearchFullTextExpressionBuilder
- All Implemented Interfaces:
Builder<OrderSearchFullTextExpression>
public class OrderSearchFullTextExpressionBuilder
extends Object
implements Builder<OrderSearchFullTextExpression>
OrderSearchFullTextExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchFullTextExpression orderSearchFullTextExpression = OrderSearchFullTextExpression.builder()
.fullText(fullTextBuilder -> fullTextBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSearchFullTextExpression with checking for non-null required valuesbuilds OrderSearchFullTextExpression without checking for non-null required valuesfullText
(OrderSearchFullTextValue fullText) set the value to the fullTextset the value to the fullText using the builder functionvalue of fullText}of()
factory method for an instance of OrderSearchFullTextExpressionBuilderof
(OrderSearchFullTextExpression template) create builder for OrderSearchFullTextExpression instanceset the value to the fullText using the builder function
-
Constructor Details
-
OrderSearchFullTextExpressionBuilder
public OrderSearchFullTextExpressionBuilder()
-
-
Method Details
-
fullText
public OrderSearchFullTextExpressionBuilder fullText(Function<OrderSearchFullTextValueBuilder, OrderSearchFullTextValueBuilder> builder) set the value to the fullText using the builder function- Parameters:
builder
- function to build the fullText value- Returns:
- Builder
-
withFullText
public OrderSearchFullTextExpressionBuilder withFullText(Function<OrderSearchFullTextValueBuilder, OrderSearchFullTextValue> builder) set the value to the fullText using the builder function- Parameters:
builder
- function to build the fullText value- Returns:
- Builder
-
fullText
set the value to the fullText- Parameters:
fullText
- value to be set- Returns:
- Builder
-
getFullText
value of fullText}- Returns:
- fullText
-
build
builds OrderSearchFullTextExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSearchFullTextExpression>
- Returns:
- OrderSearchFullTextExpression
-
buildUnchecked
builds OrderSearchFullTextExpression without checking for non-null required values- Returns:
- OrderSearchFullTextExpression
-
of
factory method for an instance of OrderSearchFullTextExpressionBuilder- Returns:
- builder
-
of
create builder for OrderSearchFullTextExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-