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