Class Feature.Builder

java.lang.Object
co.elastic.clients.elasticsearch.features.Feature.Builder
All Implemented Interfaces:
ObjectBuilder<Feature>
Enclosing class:
Feature

public static class Feature.Builder
extends java.lang.Object
implements ObjectBuilder<Feature>
Builder for Feature.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Feature build()
    Builds a Feature.
    Feature.Builder description​(java.lang.String value)
    Required - API name: description
    Feature.Builder name​(java.lang.String value)
    Required - API name: name

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      public Feature.Builder name​(java.lang.String value)
      Required - API name: name
    • description

      public Feature.Builder description​(java.lang.String value)
      Required - API name: description
    • build

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