Class NodeInfo.Builder
- All Implemented Interfaces:
- WithJson<NodeInfo.Builder>,- ObjectBuilder<NodeInfo>
- Enclosing class:
- NodeInfo
NodeInfo.- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
attributesRequired - API name:attributesAdds all entries of maptoattributes.
- 
attributesRequired - API name:attributesAdds an entry to attributes.
- 
buildFlavorRequired - API name:build_flavor
- 
buildHashRequired - Short hash of the last git commit in this release.API name: build_hash
- 
buildTypeRequired - API name:build_type
- 
componentVersionsRequired - API name:component_versionsAdds all entries of maptocomponentVersions.
- 
componentVersionsRequired - API name:component_versionsAdds an entry to componentVersions.
- 
hostRequired - The node’s host name.API name: host
- 
httpAPI name:http
- 
httpAPI name:http
- 
indexVersionRequired - API name:index_version
- 
ipRequired - The node’s IP address.API name: ip
- 
jvmAPI name:jvm
- 
jvmAPI name:jvm
- 
nameRequired - The node's nameAPI name: name
- 
osAPI name:os
- 
ospublic final NodeInfo.Builder os(Function<NodeOperatingSystemInfo.Builder, ObjectBuilder<NodeOperatingSystemInfo>> fn) API name:os
- 
pluginsAPI name:pluginsAdds all elements of listtoplugins.
- 
pluginsAPI name:pluginsAdds one or more values to plugins.
- 
pluginsAPI name:pluginsAdds a value to pluginsusing a builder lambda.
- 
processAPI name:process
- 
processpublic final NodeInfo.Builder process(Function<NodeProcessInfo.Builder, ObjectBuilder<NodeProcessInfo>> fn) API name:process
- 
rolesRequired - API name:rolesAdds all elements of listtoroles.
- 
rolesRequired - API name:rolesAdds one or more values to roles.
- 
settingsAPI name:settings
- 
settingspublic final NodeInfo.Builder settings(Function<NodeInfoSettings.Builder, ObjectBuilder<NodeInfoSettings>> fn) API name:settings
- 
threadPoolAPI name:thread_poolAdds all entries of maptothreadPool.
- 
threadPoolAPI name:thread_poolAdds an entry to threadPool.
- 
threadPoolpublic final NodeInfo.Builder threadPool(String key, Function<NodeThreadPoolInfo.Builder, ObjectBuilder<NodeThreadPoolInfo>> fn) API name:thread_poolAdds an entry to threadPoolusing a builder lambda.
- 
totalIndexingBufferTotal 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
- 
totalIndexingBufferInBytesSame as total_indexing_buffer, but expressed in bytes.API name: total_indexing_buffer_in_bytes
- 
transportAPI name:transport
- 
transportpublic final NodeInfo.Builder transport(Function<NodeInfoTransport.Builder, ObjectBuilder<NodeInfoTransport>> fn) API name:transport
- 
transportAddressRequired - Host and port where transport HTTP connections are accepted.API name: transport_address
- 
transportVersionRequired - API name:transport_version
- 
versionRequired - Elasticsearch version running on this node.API name: version
- 
modulesAPI name:modulesAdds all elements of listtomodules.
- 
modulesAPI name:modulesAdds one or more values to modules.
- 
modulesAPI name:modulesAdds a value to modulesusing a builder lambda.
- 
ingestAPI name:ingest
- 
ingestpublic final NodeInfo.Builder ingest(Function<NodeInfoIngest.Builder, ObjectBuilder<NodeInfoIngest>> fn) API name:ingest
- 
aggregationsAPI name:aggregationsAdds all entries of maptoaggregations.
- 
aggregationsAPI name:aggregationsAdds an entry to aggregations.
- 
aggregationspublic final NodeInfo.Builder aggregations(String key, Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) API name:aggregationsAdds an entry to aggregationsusing a builder lambda.
- 
remoteClusterServerAPI name:remote_cluster_server
- 
remoteClusterServerpublic final NodeInfo.Builder remoteClusterServer(Function<RemoveClusterServer.Builder, ObjectBuilder<RemoveClusterServer>> fn) API name:remote_cluster_server
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<NodeInfo.Builder>
 
- 
buildBuilds aNodeInfo.- Specified by:
- buildin interface- ObjectBuilder<NodeInfo>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-