Interface SuggestTokenizer


public interface SuggestTokenizer
SuggestTokenizer
Example to create an instance using the builder pattern

     SuggestTokenizer suggestTokenizer = SuggestTokenizer.builder()
             .type("{type}")
             .build()
 
  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Returns:
      type
    • setType

      void setType(String type)
      set type
      Parameters:
      type - value to be set
    • of

      static SuggestTokenizer of()
      factory method
      Returns:
      instance of SuggestTokenizer
    • of

      static SuggestTokenizer of(SuggestTokenizer template)
      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

      static SuggestTokenizerBuilder builder()
      builder factory method for SuggestTokenizer
      Returns:
      builder
    • builder

      static SuggestTokenizerBuilder builder(SuggestTokenizer template)
      create builder for SuggestTokenizer instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSuggestTokenizer

      default <T> T withSuggestTokenizer(Function<SuggestTokenizer,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<SuggestTokenizer> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference