Class NodeInfo.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfo.Builder,,NodeInfo> MutableBuilder<NodeInfo.Builder,,NodeInfo> ObjectBuilder<NodeInfo>
- Enclosing class:
NodeInfo
NodeInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal NodeInfo.Builderaggregations(String key, Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) Information about available aggregation types.final NodeInfo.Builderaggregations(String key, NodeInfoAggregation value) Information about available aggregation types.final NodeInfo.BuilderInformation about available aggregation types.final NodeInfo.Builderattributes(String key, String value) The custom attributes of the node.final NodeInfo.Builderattributes(Map<String, String> map) The custom attributes of the node.build()Builds aNodeInfo.final NodeInfo.BuilderbuildFlavor(String value) API name:build_flavorfinal NodeInfo.BuilderRequired - Short hash of the last git commit in this release.final NodeInfo.BuilderRequired - The type of build, such astar,docker,rpm.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeInfo.BuilderAPI name:hostfinal NodeInfo.BuilderAPI name:httpfinal NodeInfo.Builderhttp(NodeInfoHttp value) API name:httpfinal NodeInfo.BuilderAPI name:ingestfinal NodeInfo.Builderingest(NodeInfoIngest value) API name:ingestfinal NodeInfo.BuilderAPI name:ipfinal NodeInfo.BuilderAPI name:jvmfinal NodeInfo.Builderjvm(NodeJvmInfo value) API name:jvmfinal NodeInfo.BuilderThe list of modules installed on the node.final NodeInfo.Buildermodules(List<PluginStats> list) The list of modules installed on the node.final NodeInfo.Buildermodules(PluginStats value, PluginStats... values) The list of modules installed on the node.final NodeInfo.BuilderRequired - API name:namefinal NodeInfo.BuilderAPI name:networkfinal NodeInfo.Buildernetwork(NodeInfoNetwork value) API name:networkfinal NodeInfo.BuilderAPI name:osfinal NodeInfo.Builderos(NodeOperatingSystemInfo value) API name:osfinal NodeInfo.BuilderThe list of plugins installed on the node.final NodeInfo.Builderplugins(List<PluginStats> list) The list of plugins installed on the node.final NodeInfo.Builderplugins(PluginStats value, PluginStats... values) The list of plugins installed on the node.final NodeInfo.BuilderAPI name:processfinal NodeInfo.Builderprocess(NodeProcessInfo value) API name:processfinal NodeInfo.BuilderRequired - API name:rolesfinal NodeInfo.BuilderRequired - API name:rolesfinal NodeInfo.BuildersearchPipelines(Function<NodeInfoSearchPipelines.Builder, ObjectBuilder<NodeInfoSearchPipelines>> fn) API name:search_pipelinesfinal NodeInfo.BuilderAPI name:search_pipelinesfinal NodeInfo.BuilderAPI name:settingsfinal NodeInfo.Buildersettings(NodeInfoSettings value) API name:settingsfinal NodeInfo.BuilderInformation about thread pool configurations.final NodeInfo.BuilderthreadPool(String key, NodeThreadPoolInfo value) Information about thread pool configurations.final NodeInfo.BuilderInformation about thread pool configurations.final NodeInfo.BuildertotalIndexingBuffer(JsonData value) Total heap allowed to be used to hold recently indexed documents before they must be written to disk.final NodeInfo.BuilderAPI name:total_indexing_buffer_in_bytesfinal NodeInfo.BuilderAPI name:transportfinal NodeInfo.Buildertransport(NodeInfoTransport value) API name:transportfinal NodeInfo.BuildertransportAddress(String value) API name:transport_addressfinal NodeInfo.BuilderRequired - API name:versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<NodeInfo.Builder,NodeInfo> - Returns:
- a new builder instance.
-
aggregations
Information about available aggregation types.API name:
aggregationsAdds all elements of
maptoaggregations. -
aggregations
Information about available aggregation types.API name:
aggregationsAdds an entry to
aggregations. -
aggregations
@Nonnull public final NodeInfo.Builder aggregations(String key, Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) Information about available aggregation types.API name:
aggregationsAdds a value to
aggregationsusing a builder lambda. -
attributes
The custom attributes of the node.API name:
attributesAdds all elements of
maptoattributes. -
attributes
The custom attributes of the node.API name:
attributesAdds an entry to
attributes. -
buildFlavor
API name:build_flavor -
buildHash
Required - Short hash of the last git commit in this release.API name:
build_hash -
buildType
Required - The type of build, such astar,docker,rpm.API name:
build_type -
host
API name:host -
http
API name:http -
http
@Nonnull public final NodeInfo.Builder http(Function<NodeInfoHttp.Builder, ObjectBuilder<NodeInfoHttp>> fn) API name:http -
ingest
API name:ingest -
ingest
@Nonnull public final NodeInfo.Builder ingest(Function<NodeInfoIngest.Builder, ObjectBuilder<NodeInfoIngest>> fn) API name:ingest -
ip
API name:ip -
jvm
API name:jvm -
jvm
@Nonnull public final NodeInfo.Builder jvm(Function<NodeJvmInfo.Builder, ObjectBuilder<NodeJvmInfo>> fn) API name:jvm -
modules
The list of modules installed on the node.API name:
modulesAdds all elements of
listtomodules. -
modules
The list of modules installed on the node.API name:
modulesAdds one or more values to
modules. -
modules
@Nonnull public final NodeInfo.Builder modules(Function<PluginStats.Builder, ObjectBuilder<PluginStats>> fn) The list of modules installed on the node.API name:
modulesAdds a value to
modulesusing a builder lambda. -
name
Required - API name:name -
network
API name:network -
network
@Nonnull public final NodeInfo.Builder network(Function<NodeInfoNetwork.Builder, ObjectBuilder<NodeInfoNetwork>> fn) API name:network -
os
API name:os -
os
@Nonnull public final NodeInfo.Builder os(Function<NodeOperatingSystemInfo.Builder, ObjectBuilder<NodeOperatingSystemInfo>> fn) API name:os -
plugins
The list of plugins installed on the node.API name:
pluginsAdds all elements of
listtoplugins. -
plugins
The list of plugins installed on the node.API name:
pluginsAdds one or more values to
plugins. -
plugins
@Nonnull public final NodeInfo.Builder plugins(Function<PluginStats.Builder, ObjectBuilder<PluginStats>> fn) The list of plugins installed on the node.API name:
pluginsAdds a value to
pluginsusing a builder lambda. -
process
API name:process -
process
@Nonnull 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. -
searchPipelines
API name:search_pipelines -
searchPipelines
@Nonnull public final NodeInfo.Builder searchPipelines(Function<NodeInfoSearchPipelines.Builder, ObjectBuilder<NodeInfoSearchPipelines>> fn) API name:search_pipelines -
settings
API name:settings -
settings
@Nonnull public final NodeInfo.Builder settings(Function<NodeInfoSettings.Builder, ObjectBuilder<NodeInfoSettings>> fn) API name:settings -
threadPool
Information about thread pool configurations.API name:
thread_poolAdds all elements of
maptothreadPool. -
threadPool
Information about thread pool configurations.API name:
thread_poolAdds an entry to
threadPool. -
threadPool
@Nonnull public final NodeInfo.Builder threadPool(String key, Function<NodeThreadPoolInfo.Builder, ObjectBuilder<NodeThreadPoolInfo>> fn) Information about thread pool configurations.API name:
thread_poolAdds a value 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
API name:total_indexing_buffer_in_bytes -
transport
API name:transport -
transport
@Nonnull public final NodeInfo.Builder transport(Function<NodeInfoTransport.Builder, ObjectBuilder<NodeInfoTransport>> fn) API name:transport -
transportAddress
API name:transport_address -
version
Required - API name:version -
build
Builds aNodeInfo.- Specified by:
buildin interfaceObjectBuilder<NodeInfo>- Throws:
NullPointerException- if some of the required fields are null.
-