Class Node.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Node.Builder>
co.elastic.clients.elasticsearch.searchable_snapshots.cache_stats.Node.Builder
- All Implemented Interfaces:
WithJson<Node.Builder>,ObjectBuilder<Node>
- Enclosing class:
- Node
public static class Node.Builder extends WithJsonObjectBuilderBase<Node.Builder> implements ObjectBuilder<Node>
Builder for
Node.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Nodebuild()Builds aNode.protected Node.Builderself()Node.BuildersharedCache(Shared value)Required - API name:shared_cacheNode.BuildersharedCache(java.util.function.Function<Shared.Builder,ObjectBuilder<Shared>> fn)Required - API name:shared_cacheMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Node.Builder>
-
build
Builds aNode.- Specified by:
buildin interfaceObjectBuilder<Node>- Throws:
java.lang.NullPointerException- if some of the required fields are null.