Class DutchAnalyzer.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • stopwords

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

      Adds all elements of list to stopwords.

    • stopwords

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

      Adds one or more values to stopwords.

    • build

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