Class ProductSearchSuggestionCompletionExpressionValueBuilder
java.lang.Object
com.commercetools.api.models.product_search.ProductSearchSuggestionCompletionExpressionValueBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ProductSearchSuggestionCompletionExpressionValue>
public class ProductSearchSuggestionCompletionExpressionValueBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<ProductSearchSuggestionCompletionExpressionValue>
ProductSearchSuggestionCompletionExpressionValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchSuggestionCompletionExpressionValue productSearchSuggestionCompletionExpressionValue = ProductSearchSuggestionCompletionExpressionValue.builder()
.name("{name}")
.field("{field}")
.prefix("{prefix}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductSearchSuggestionCompletionExpressionValue with checking for non-null required valuesbuilds ProductSearchSuggestionCompletionExpressionValue without checking for non-null required valuesset the value to the fieldgetField()
value of field}getName()
value of name}value of prefix}set the value to the nameof()
factory method for an instance of ProductSearchSuggestionCompletionExpressionValueBuildercreate builder for ProductSearchSuggestionCompletionExpressionValue instanceset the value to the prefix
-
Constructor Details
-
ProductSearchSuggestionCompletionExpressionValueBuilder
public ProductSearchSuggestionCompletionExpressionValueBuilder()
-
-
Method Details
-
name
set the value to the name- Parameters:
name
- value to be set- Returns:
- Builder
-
field
set the value to the field- Parameters:
field
- value to be set- Returns:
- Builder
-
prefix
set the value to the prefix- Parameters:
prefix
- value to be set- Returns:
- Builder
-
getName
value of name}- Returns:
- name
-
getField
value of field}- Returns:
- field
-
getPrefix
value of prefix}- Returns:
- prefix
-
build
builds ProductSearchSuggestionCompletionExpressionValue with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<ProductSearchSuggestionCompletionExpressionValue>
- Returns:
- ProductSearchSuggestionCompletionExpressionValue
-
buildUnchecked
builds ProductSearchSuggestionCompletionExpressionValue without checking for non-null required values- Returns:
- ProductSearchSuggestionCompletionExpressionValue
-
of
factory method for an instance of ProductSearchSuggestionCompletionExpressionValueBuilder- Returns:
- builder
-
of
public static ProductSearchSuggestionCompletionExpressionValueBuilder of(ProductSearchSuggestionCompletionExpressionValue template) create builder for ProductSearchSuggestionCompletionExpressionValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-