Interface ProductSearchFacetResultExpression
- All Known Subinterfaces:
ProductSearchFacetBucketResult
,ProductSearchFacetResultCount
- All Known Implementing Classes:
ProductSearchFacetBucketResultImpl
,ProductSearchFacetResultCountImpl
,ProductSearchFacetResultExpressionImpl
public interface ProductSearchFacetResultExpression
ProductSearchFacetResultExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetResultExpression productSearchFacetResultExpression = ProductSearchFacetResultExpression.builder()
.name("{name}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetResultExpressionbuilder
(ProductSearchFacetResultExpression template) create builder for ProductSearchFacetResultExpression instancedeepCopy
(ProductSearchFacetResultExpression template) factory method to create a deep copy of ProductSearchFacetResultExpression@NotNull String
getName()
Name of the facet.of()
factory methodof
(ProductSearchFacetResultExpression template) factory method to create a shallow copy ProductSearchFacetResultExpressionvoid
Name of the facet.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetResultExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getName
Name of the facet.
- Returns:
- name
-
setName
Name of the facet.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetResultExpression
-
of
factory method to create a shallow copy ProductSearchFacetResultExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchFacetResultExpression deepCopy(@Nullable ProductSearchFacetResultExpression template) factory method to create a deep copy of ProductSearchFacetResultExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetResultExpression- Returns:
- builder
-
builder
static ProductSearchFacetResultExpressionBuilder builder(ProductSearchFacetResultExpression template) create builder for ProductSearchFacetResultExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetResultExpression
default <T> T withProductSearchFacetResultExpression(Function<ProductSearchFacetResultExpression, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetResultExpression> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-