Class ClusterStateQueue.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.ClusterStateQueue.Builder
- All Implemented Interfaces:
CopyableBuilder<ClusterStateQueue.Builder,,ClusterStateQueue> MutableBuilder<ClusterStateQueue.Builder,,ClusterStateQueue> ObjectBuilder<ClusterStateQueue>
- Enclosing class:
ClusterStateQueue
public static class ClusterStateQueue.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ClusterStateQueue.Builder,ClusterStateQueue>
Builder for
ClusterStateQueue.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterStateQueue.Number of committed cluster states in queue.copy()Create a new builderCopyableBuilderthat is a copy of this one.Number of pending cluster states in queue.Total number of cluster states in queue.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<ClusterStateQueue.Builder,ClusterStateQueue> - Returns:
- a new builder instance.
-
committed
Number of committed cluster states in queue.API name:
committed -
pending
Number of pending cluster states in queue.API name:
pending -
total
Total number of cluster states in queue.API name:
total -
build
Builds aClusterStateQueue.- Specified by:
buildin interfaceObjectBuilder<ClusterStateQueue>- Throws:
NullPointerException- if some of the required fields are null.
-