Class NodesRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<NodesRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<NodesRequest.Builder>
org.opensearch.client.opensearch.cat.NodesRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<NodesRequest.Builder,,NodesRequest> MutableBuilder<NodesRequest.Builder,,NodesRequest> ObjectBuilder<NodesRequest>
- Enclosing class:
NodesRequest
public static class NodesRequest.Builder
extends CatRequestBase.AbstractBuilder<NodesRequest.Builder>
implements CopyableBuilder<NodesRequest.Builder,NodesRequest>
Builder for
NodesRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodesRequest.final NodesRequest.BuilderThe units used to display byte values.final NodesRequest.BuilderThe amount of time allowed to establish a connection to the cluster manager node.final NodesRequest.BuilderclusterManagerTimeout(Time value) The amount of time allowed to establish a connection to the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodesRequest.BuilderWhentrue, returns the full node ID.final NodesRequest.BuilderDeprecated.final NodesRequest.BuildermasterTimeout(Time value) Deprecated.protected NodesRequest.Builderself()final NodesRequest.BuilderSpecifies the time units, for example,5dor7h.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, headers, sort, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<NodesRequest.Builder,NodesRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<NodesRequest.Builder>
-
bytes
The units used to display byte values.API name:
bytes -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final NodesRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
fullId
Whentrue, returns the full node ID. Whenfalse, returns the shortened node ID.API name:
full_id -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final NodesRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
build
Builds aNodesRequest.- Specified by:
buildin interfaceObjectBuilder<NodesRequest>- Throws:
NullPointerException- if some of the required fields are null.
-