Class Realm.Builder

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

public static class Realm.Builder
extends ObjectBuilderBase
implements ObjectBuilder<Realm>
Builder for Realm.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

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

    Methods inherited from class co.elastic.clients.util.ObjectBuilderBase

    _checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll

    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 final Realm.Builder name​(java.lang.String value)
      Required - API name: name
    • build

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