Class NodeInfo.Builder
- All Implemented Interfaces:
WithJson<NodeInfo.Builder>,ObjectBuilder<NodeInfo>
- Enclosing class:
- NodeInfo
NodeInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal NodeInfo.Builderaggregations(String key, NodeInfoAggregation value) API name:aggregationsfinal NodeInfo.Builderaggregations(String key, Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) API name:aggregationsfinal NodeInfo.BuilderAPI name:aggregationsfinal NodeInfo.Builderattributes(String key, String value) Required - API name:attributesfinal NodeInfo.Builderattributes(Map<String, String> map) Required - API name:attributesbuild()Builds aNodeInfo.final NodeInfo.BuilderbuildFlavor(String value) Required - API name:build_flavorfinal NodeInfo.BuilderRequired - Short hash of the last git commit in this release.final NodeInfo.BuilderRequired - API name:build_typefinal NodeInfo.BuildercomponentVersions(String key, Integer value) Required - API name:component_versionsfinal NodeInfo.BuildercomponentVersions(Map<String, Integer> map) Required - API name:component_versionsfinal NodeInfo.BuilderRequired - The node’s host name.final NodeInfo.Builderhttp(NodeInfoHttp value) API name:httpfinal NodeInfo.BuilderAPI name:httpfinal NodeInfo.BuilderindexVersion(long value) Required - API name:index_versionfinal NodeInfo.Builderingest(NodeInfoIngest value) API name:ingestfinal NodeInfo.BuilderAPI name:ingestfinal NodeInfo.BuilderRequired - The node’s IP address.final NodeInfo.Builderjvm(NodeJvmInfo value) API name:jvmfinal NodeInfo.BuilderAPI name:jvmfinal NodeInfo.Buildermodules(PluginStats value, PluginStats... values) API name:modulesfinal NodeInfo.BuilderAPI name:modulesfinal NodeInfo.Buildermodules(List<PluginStats> list) API name:modulesfinal NodeInfo.BuilderRequired - The node's namefinal NodeInfo.Builderos(NodeOperatingSystemInfo value) API name:osfinal NodeInfo.BuilderAPI name:osfinal NodeInfo.Builderplugins(PluginStats value, PluginStats... values) API name:pluginsfinal NodeInfo.BuilderAPI name:pluginsfinal NodeInfo.Builderplugins(List<PluginStats> list) API name:pluginsfinal NodeInfo.Builderprocess(NodeProcessInfo value) API name:processfinal NodeInfo.BuilderAPI name:processfinal NodeInfo.BuilderAPI name:remote_cluster_serverfinal NodeInfo.BuilderAPI name:remote_cluster_serverfinal NodeInfo.BuilderRequired - API name:rolesfinal NodeInfo.BuilderRequired - API name:rolesprotected NodeInfo.Builderself()final NodeInfo.Buildersettings(NodeInfoSettings value) API name:settingsfinal NodeInfo.BuilderAPI name:settingsfinal NodeInfo.BuilderthreadPool(String key, NodeThreadPoolInfo value) API name:thread_poolfinal NodeInfo.BuilderAPI name:thread_poolfinal NodeInfo.BuilderAPI name:thread_poolfinal NodeInfo.BuildertotalIndexingBuffer(Long value) Total heap allowed to be used to hold recently indexed documents before they must be written to disk.final NodeInfo.BuildertotalIndexingBufferInBytes(String value) Same as total_indexing_buffer, but expressed in bytes.final NodeInfo.Buildertransport(NodeInfoTransport value) API name:transportfinal NodeInfo.BuilderAPI name:transportfinal NodeInfo.BuildertransportAddress(String value) Required - Host and port where transport HTTP connections are accepted.final NodeInfo.BuildertransportVersion(long value) Required - API name:transport_versionfinal NodeInfo.BuilderRequired - Elasticsearch version running on this node.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
Required - API name:attributesAdds all entries of
maptoattributes. -
attributes
Required - API name:attributesAdds an entry to
attributes. -
buildFlavor
Required - API name:build_flavor -
buildHash
Required - Short hash of the last git commit in this release.API name:
build_hash -
buildType
Required - API name:build_type -
componentVersions
Required - API name:component_versionsAdds all entries of
maptocomponentVersions. -
componentVersions
Required - API name:component_versionsAdds an entry to
componentVersions. -
host
Required - The node’s host name.API name:
host -
http
API name:http -
http
API name:http -
indexVersion
Required - API name:index_version -
ip
Required - The node’s IP address.API name:
ip -
jvm
API name:jvm -
jvm
API name:jvm -
name
Required - The node's nameAPI name:
name -
os
API name:os -
os
public final NodeInfo.Builder os(Function<NodeOperatingSystemInfo.Builder, ObjectBuilder<NodeOperatingSystemInfo>> fn) API name:os -
plugins
API name:pluginsAdds all elements of
listtoplugins. -
plugins
API name:pluginsAdds one or more values to
plugins. -
plugins
API name:pluginsAdds a value to
pluginsusing a builder lambda. -
process
API name:process -
process
public final NodeInfo.Builder process(Function<NodeProcessInfo.Builder, ObjectBuilder<NodeProcessInfo>> fn) API name:process -
roles
Required - API name:rolesAdds all elements of
listtoroles. -
roles
Required - API name:rolesAdds one or more values to
roles. -
settings
API name:settings -
settings
public final NodeInfo.Builder settings(Function<NodeInfoSettings.Builder, ObjectBuilder<NodeInfoSettings>> fn) API name:settings -
threadPool
API name:thread_poolAdds all entries of
maptothreadPool. -
threadPool
API name:thread_poolAdds an entry to
threadPool. -
threadPool
public final NodeInfo.Builder threadPool(String key, Function<NodeThreadPoolInfo.Builder, ObjectBuilder<NodeThreadPoolInfo>> fn) API name:thread_poolAdds an entry to
threadPoolusing a builder lambda. -
totalIndexingBuffer
Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.API name:
total_indexing_buffer -
totalIndexingBufferInBytes
Same as total_indexing_buffer, but expressed in bytes.API name:
total_indexing_buffer_in_bytes -
transport
API name:transport -
transport
public final NodeInfo.Builder transport(Function<NodeInfoTransport.Builder, ObjectBuilder<NodeInfoTransport>> fn) API name:transport -
transportAddress
Required - Host and port where transport HTTP connections are accepted.API name:
transport_address -
transportVersion
Required - API name:transport_version -
version
Required - Elasticsearch version running on this node.API name:
version -
modules
API name:modulesAdds all elements of
listtomodules. -
modules
API name:modulesAdds one or more values to
modules. -
modules
API name:modulesAdds a value to
modulesusing a builder lambda. -
ingest
API name:ingest -
ingest
public final NodeInfo.Builder ingest(Function<NodeInfoIngest.Builder, ObjectBuilder<NodeInfoIngest>> fn) API name:ingest -
aggregations
API name:aggregationsAdds all entries of
maptoaggregations. -
aggregations
API name:aggregationsAdds an entry to
aggregations. -
aggregations
public final NodeInfo.Builder aggregations(String key, Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) API name:aggregationsAdds an entry to
aggregationsusing a builder lambda. -
remoteClusterServer
API name:remote_cluster_server -
remoteClusterServer
public final NodeInfo.Builder remoteClusterServer(Function<RemoveClusterServer.Builder, ObjectBuilder<RemoveClusterServer>> fn) API name:remote_cluster_server -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfo.Builder>
-
build
Builds aNodeInfo.- Specified by:
buildin interfaceObjectBuilder<NodeInfo>- Throws:
NullPointerException- if some of the required fields are null.
-