Class Http.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.Http.Builder
- All Implemented Interfaces:
CopyableBuilder<Http.Builder,,Http> MutableBuilder<Http.Builder,,Http> ObjectBuilder<Http>
- Enclosing class:
Http
public static class Http.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Http.Builder,Http>
Builder for
Http.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHttp.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Http.BuildercurrentOpen(Long value) Current number of open HTTP connections for the node.final Http.BuildertotalOpened(Long value) Total number of HTTP connections opened for the node.Methods 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<Http.Builder,Http> - Returns:
- a new builder instance.
-
currentOpen
Current number of open HTTP connections for the node.API name:
current_open -
totalOpened
Total number of HTTP connections opened for the node.API name:
total_opened -
build
Builds aHttp.- Specified by:
buildin interfaceObjectBuilder<Http>- Throws:
NullPointerException- if some of the required fields are null.
-