Interface SuggestTokenizer
public interface SuggestTokenizer
SuggestTokenizer
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SuggestTokenizer suggestTokenizer = SuggestTokenizer.builder()
.type("{type}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuggestTokenizerBuilder
builder()
builder factory method for SuggestTokenizerstatic SuggestTokenizerBuilder
builder
(SuggestTokenizer template) create builder for SuggestTokenizer instancestatic SuggestTokenizer
deepCopy
(SuggestTokenizer template) factory method to create a deep copy of SuggestTokenizer@NotNull String
getType()
static SuggestTokenizer
of()
factory methodstatic SuggestTokenizer
of
(SuggestTokenizer template) factory method to create a shallow copy SuggestTokenizervoid
set typestatic com.fasterxml.jackson.core.type.TypeReference<SuggestTokenizer>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSuggestTokenizer
(Function<SuggestTokenizer, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
setType
set type- Parameters:
type
- value to be set
-
of
factory method- Returns:
- instance of SuggestTokenizer
-
of
factory method to create a shallow copy SuggestTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SuggestTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SuggestTokenizer- Returns:
- builder
-
builder
create builder for SuggestTokenizer instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSuggestTokenizer
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-