Class IndexShardStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.stats.IndexStatsBase.AbstractBuilder<IndexShardStats.Builder>
org.opensearch.client.opensearch.indices.stats.IndexShardStatsBase.AbstractBuilder<IndexShardStats.Builder>
org.opensearch.client.opensearch.indices.stats.IndexShardStats.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexShardStats.Builder,,IndexShardStats> MutableBuilder<IndexShardStats.Builder,,IndexShardStats> ObjectBuilder<IndexShardStats>
- Enclosing class:
IndexShardStats
public static class IndexShardStats.Builder
extends IndexShardStatsBase.AbstractBuilder<IndexShardStats.Builder>
implements CopyableBuilder<IndexShardStats.Builder,IndexShardStats>
Builder for
IndexShardStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexShardStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected IndexShardStats.Builderself()Methods inherited from class org.opensearch.client.opensearch.indices.stats.IndexShardStatsBase.AbstractBuilder
commit, commit, retentionLeases, retentionLeases, routing, routing, seqNo, seqNo, shardPath, shardPathMethods 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<IndexShardStats.Builder,IndexShardStats> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classIndexStatsBase.AbstractBuilder<IndexShardStats.Builder>
-
build
Builds aIndexShardStats.- Specified by:
buildin interfaceObjectBuilder<IndexShardStats>- Throws:
NullPointerException- if some of the required fields are null.
-