Class PublishedClusterStates.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.PublishedClusterStates.Builder
- All Implemented Interfaces:
CopyableBuilder<PublishedClusterStates.Builder,,PublishedClusterStates> MutableBuilder<PublishedClusterStates.Builder,,PublishedClusterStates> ObjectBuilder<PublishedClusterStates>
- Enclosing class:
PublishedClusterStates
public static class PublishedClusterStates.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PublishedClusterStates.Builder,PublishedClusterStates>
Builder for
PublishedClusterStates.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPublishedClusterStates.compatibleDiffs(Long value) Number of compatible differences between published cluster states.copy()Create a new builderCopyableBuilderthat is a copy of this one.fullStates(Long value) Number of published cluster states.incompatibleDiffs(Long value) Number of incompatible differences between published cluster states.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<PublishedClusterStates.Builder,PublishedClusterStates> - Returns:
- a new builder instance.
-
compatibleDiffs
Number of compatible differences between published cluster states.API name:
compatible_diffs -
fullStates
Number of published cluster states.API name:
full_states -
incompatibleDiffs
Number of incompatible differences between published cluster states.API name:
incompatible_diffs -
build
Builds aPublishedClusterStates.- Specified by:
buildin interfaceObjectBuilder<PublishedClusterStates>- Throws:
NullPointerException- if some of the required fields are null.
-