Class IndexStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.stats.IndexStatsBase.AbstractBuilder<IndexStats.Builder>
org.opensearch.client.opensearch.indices.stats.IndexStats.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexStats.Builder,,IndexStats> MutableBuilder<IndexStats.Builder,,IndexStats> ObjectBuilder<IndexStats>
- Enclosing class:
IndexStats
public static class IndexStats.Builder
extends IndexStatsBase.AbstractBuilder<IndexStats.Builder>
implements CopyableBuilder<IndexStats.Builder,IndexStats>
Builder for
IndexStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected IndexStats.Builderself()Methods inherited from class org.opensearch.client.opensearch.indices.stats.IndexStatsBase.AbstractBuilder
completion, completion, docs, docs, fielddata, fielddata, flush, flush, get, get, indexing, indexing, merges, merges, queryCache, queryCache, recovery, recovery, refresh, refresh, requestCache, requestCache, search, search, segments, segments, store, store, translog, translog, warmer, warmerMethods 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<IndexStats.Builder,IndexStats> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classIndexStatsBase.AbstractBuilder<IndexStats.Builder>
-
build
Builds aIndexStats.- Specified by:
buildin interfaceObjectBuilder<IndexStats>- Throws:
NullPointerException- if some of the required fields are null.
-