Class ClusterStatistics.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.ClusterStatistics.Builder
- All Implemented Interfaces:
CopyableBuilder<ClusterStatistics.Builder,,ClusterStatistics> MutableBuilder<ClusterStatistics.Builder,,ClusterStatistics> ObjectBuilder<ClusterStatistics>
- Enclosing class:
ClusterStatistics
public static class ClusterStatistics.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ClusterStatistics.Builder,ClusterStatistics>
Builder for
ClusterStatistics.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterStatistics.copy()Create a new builderCopyableBuilderthat is a copy of this one.skipped(int value) Required - API name:skippedsuccessful(int value) Required - API name:successfultotal(int value) Required - API name:totalMethods 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<ClusterStatistics.Builder,ClusterStatistics> - Returns:
- a new builder instance.
-
skipped
Required - API name:skipped -
successful
Required - API name:successful -
total
Required - API name:total -
build
Builds aClusterStatistics.- Specified by:
buildin interfaceObjectBuilder<ClusterStatistics>- Throws:
NullPointerException- if some of the required fields are null.
-