Class NodeInfoSettingsCluster.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoSettingsCluster.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoSettingsCluster.Builder
- All Implemented Interfaces:
WithJson<NodeInfoSettingsCluster.Builder>
,ObjectBuilder<NodeInfoSettingsCluster>
- Enclosing class:
- NodeInfoSettingsCluster
public static class NodeInfoSettingsCluster.Builder extends WithJsonObjectBuilderBase<NodeInfoSettingsCluster.Builder> implements ObjectBuilder<NodeInfoSettingsCluster>
Builder for
NodeInfoSettingsCluster
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
Required - API name:name
-
routing
API name:routing
-
routing
public final NodeInfoSettingsCluster.Builder routing(java.util.function.Function<IndexRouting.Builder,ObjectBuilder<IndexRouting>> fn)API name:routing
-
election
Required - API name:election
-
election
public final NodeInfoSettingsCluster.Builder election(java.util.function.Function<NodeInfoSettingsClusterElection.Builder,ObjectBuilder<NodeInfoSettingsClusterElection>> fn)Required - API name:election
-
initialMasterNodes
API name:initial_master_nodes
-
deprecationIndexing
public final NodeInfoSettingsCluster.Builder deprecationIndexing(@Nullable DeprecationIndexing value)API name:deprecation_indexing
-
deprecationIndexing
public final NodeInfoSettingsCluster.Builder deprecationIndexing(java.util.function.Function<DeprecationIndexing.Builder,ObjectBuilder<DeprecationIndexing>> fn)API name:deprecation_indexing
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<NodeInfoSettingsCluster.Builder>
-
build
Builds aNodeInfoSettingsCluster
.- Specified by:
build
in interfaceObjectBuilder<NodeInfoSettingsCluster>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-