Class CustomNormalizer.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.analysis.CustomNormalizer.Builder
All Implemented Interfaces:
ObjectBuilder<CustomNormalizer>
Enclosing class:
CustomNormalizer

public static class CustomNormalizer.Builder
extends ObjectBuilderBase
implements ObjectBuilder<CustomNormalizer>
Builder for CustomNormalizer.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • charFilter

      public final CustomNormalizer.Builder charFilter​(java.util.List<java.lang.String> list)
      API name: char_filter

      Adds all elements of list to charFilter.

    • charFilter

      public final CustomNormalizer.Builder charFilter​(java.lang.String value, java.lang.String... values)
      API name: char_filter

      Adds one or more values to charFilter.

    • filter

      public final CustomNormalizer.Builder filter​(java.util.List<java.lang.String> list)
      API name: filter

      Adds all elements of list to filter.

    • filter

      public final CustomNormalizer.Builder filter​(java.lang.String value, java.lang.String... values)
      API name: filter

      Adds one or more values to filter.

    • build

      public CustomNormalizer build()
      Specified by:
      build in interface ObjectBuilder<CustomNormalizer>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.