Class ShardWeightedRoutingStatsDetail.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.ShardWeightedRoutingStatsDetail.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardWeightedRoutingStatsDetail.Builder,,ShardWeightedRoutingStatsDetail> MutableBuilder<ShardWeightedRoutingStatsDetail.Builder,,ShardWeightedRoutingStatsDetail> ObjectBuilder<ShardWeightedRoutingStatsDetail>
- Enclosing class:
ShardWeightedRoutingStatsDetail
public static class ShardWeightedRoutingStatsDetail.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardWeightedRoutingStatsDetail.Builder,ShardWeightedRoutingStatsDetail>
Builder for
ShardWeightedRoutingStatsDetail.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aShardWeightedRoutingStatsDetail.copy()Create a new builderCopyableBuilderthat is a copy of this one.failOpenCount(Integer value) API name:fail_open_countMethods 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<ShardWeightedRoutingStatsDetail.Builder,ShardWeightedRoutingStatsDetail> - Returns:
- a new builder instance.
-
failOpenCount
@Nonnull public final ShardWeightedRoutingStatsDetail.Builder failOpenCount(@Nullable Integer value) API name:fail_open_count -
build
Builds aShardWeightedRoutingStatsDetail.- Specified by:
buildin interfaceObjectBuilder<ShardWeightedRoutingStatsDetail>- Throws:
NullPointerException- if some of the required fields are null.
-