Class ProductSearchFacetDistinctStartsWithBuilder
java.lang.Object
com.commercetools.api.models.product_search.ProductSearchFacetDistinctStartsWithBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ProductSearchFacetDistinctStartsWith>
public class ProductSearchFacetDistinctStartsWithBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<ProductSearchFacetDistinctStartsWith>
ProductSearchFacetDistinctStartsWithBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetDistinctStartsWith productSearchFacetDistinctStartsWith = ProductSearchFacetDistinctStartsWith.builder()
.value("{value}")
.caseInsensitive(true)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductSearchFacetDistinctStartsWith with checking for non-null required valuesbuilds ProductSearchFacetDistinctStartsWith without checking for non-null required valuescaseInsensitive
(Boolean caseInsensitive) Iftrue
, thevalue
is not case sensitive.Iftrue
, thevalue
is not case sensitive.getValue()
Text to match against the start of the target value.of()
factory method for an instance of ProductSearchFacetDistinctStartsWithBuilderof
(ProductSearchFacetDistinctStartsWith template) create builder for ProductSearchFacetDistinctStartsWith instanceText to match against the start of the target value.
-
Constructor Details
-
ProductSearchFacetDistinctStartsWithBuilder
public ProductSearchFacetDistinctStartsWithBuilder()
-
-
Method Details
-
value
Text to match against the start of the target value.
- Parameters:
value
- value to be set- Returns:
- Builder
-
caseInsensitive
If
true
, thevalue
is not case sensitive.- Parameters:
caseInsensitive
- value to be set- Returns:
- Builder
-
getValue
Text to match against the start of the target value.
- Returns:
- value
-
getCaseInsensitive
If
true
, thevalue
is not case sensitive.- Returns:
- caseInsensitive
-
build
builds ProductSearchFacetDistinctStartsWith with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<ProductSearchFacetDistinctStartsWith>
- Returns:
- ProductSearchFacetDistinctStartsWith
-
buildUnchecked
builds ProductSearchFacetDistinctStartsWith without checking for non-null required values- Returns:
- ProductSearchFacetDistinctStartsWith
-
of
factory method for an instance of ProductSearchFacetDistinctStartsWithBuilder- Returns:
- builder
-
of
public static ProductSearchFacetDistinctStartsWithBuilder of(ProductSearchFacetDistinctStartsWith template) create builder for ProductSearchFacetDistinctStartsWith instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-