Class PValueHeuristic.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PValueHeuristic.Builder>
co.elastic.clients.elasticsearch._types.aggregations.PValueHeuristic.Builder
- All Implemented Interfaces:
WithJson<PValueHeuristic.Builder>,ObjectBuilder<PValueHeuristic>
- Enclosing class:
- PValueHeuristic
public static class PValueHeuristic.Builder
extends WithJsonObjectBuilderBase<PValueHeuristic.Builder>
implements ObjectBuilder<PValueHeuristic>
Builder for
PValueHeuristic.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PValueHeuristic.BuilderbackgroundIsSuperset(Boolean value) API name:background_is_supersetbuild()Builds aPValueHeuristic.final PValueHeuristic.BuildernormalizeAbove(Long value) Should the results be normalized when above the given value.protected PValueHeuristic.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundIsSuperset
API name:background_is_superset -
normalizeAbove
Should the results be normalized when above the given value. Allows for consistent significance results at various scales. Note:0is a special value which means no normalizationAPI name:
normalize_above -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<PValueHeuristic.Builder>
-
build
Builds aPValueHeuristic.- Specified by:
buildin interfaceObjectBuilder<PValueHeuristic>- Throws:
NullPointerException- if some of the required fields are null.
-