Class GoogleNormalizedDistanceHeuristic.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.aggregations.GoogleNormalizedDistanceHeuristic.Builder
- All Implemented Interfaces:
ObjectBuilder<GoogleNormalizedDistanceHeuristic>
- Enclosing class:
- GoogleNormalizedDistanceHeuristic
public static class GoogleNormalizedDistanceHeuristic.Builder extends ObjectBuilderBase implements ObjectBuilder<GoogleNormalizedDistanceHeuristic>
Builder for
GoogleNormalizedDistanceHeuristic
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GoogleNormalizedDistanceHeuristic.Builder
backgroundIsSuperset(java.lang.Boolean value)
API name:background_is_superset
GoogleNormalizedDistanceHeuristic
build()
Builds aGoogleNormalizedDistanceHeuristic
.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundIsSuperset
public final GoogleNormalizedDistanceHeuristic.Builder backgroundIsSuperset(@Nullable java.lang.Boolean value)API name:background_is_superset
-
build
Builds aGoogleNormalizedDistanceHeuristic
.- Specified by:
build
in interfaceObjectBuilder<GoogleNormalizedDistanceHeuristic>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-