Interface ProductSearchFacetRangesFacetRange
public interface ProductSearchFacetRangesFacetRange
Values for from
and to
must be a number or DateTime.
Example to create an instance using the builder pattern
ProductSearchFacetRangesFacetRange productSearchFacetRangesFacetRange = ProductSearchFacetRangesFacetRange.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchFacetRangesFacetRangebuilder
(ProductSearchFacetRangesFacetRange template) create builder for ProductSearchFacetRangesFacetRange instancedeepCopy
(ProductSearchFacetRangesFacetRange template) factory method to create a deep copy of ProductSearchFacetRangesFacetRangegetFrom()
Starting value of the bucket (inclusive).getKey()
Key to assign the bucket.getTo()
Ending value of the bucket (non-inclusive).of()
factory methodof
(ProductSearchFacetRangesFacetRange template) factory method to create a shallow copy ProductSearchFacetRangesFacetRangevoid
Starting value of the bucket (inclusive).void
Key to assign the bucket.void
Ending value of the bucket (non-inclusive).static com.fasterxml.jackson.core.type.TypeReference<ProductSearchFacetRangesFacetRange>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getFrom
Object getFrom()Starting value of the bucket (inclusive).
- Returns:
- from
-
getTo
Object getTo()Ending value of the bucket (non-inclusive).
- Returns:
- to
-
getKey
String getKey()Key to assign the bucket.
- Returns:
- key
-
setFrom
Starting value of the bucket (inclusive).
- Parameters:
from
- value to be set
-
setTo
Ending value of the bucket (non-inclusive).
- Parameters:
to
- value to be set
-
setKey
Key to assign the bucket.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchFacetRangesFacetRange
-
of
factory method to create a shallow copy ProductSearchFacetRangesFacetRange- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchFacetRangesFacetRange deepCopy(@Nullable ProductSearchFacetRangesFacetRange template) factory method to create a deep copy of ProductSearchFacetRangesFacetRange- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchFacetRangesFacetRange- Returns:
- builder
-
builder
static ProductSearchFacetRangesFacetRangeBuilder builder(ProductSearchFacetRangesFacetRange template) create builder for ProductSearchFacetRangesFacetRange instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchFacetRangesFacetRange
default <T> T withProductSearchFacetRangesFacetRange(Function<ProductSearchFacetRangesFacetRange, 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<ProductSearchFacetRangesFacetRange> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-