Class ExtendedBounds.Builder<T>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.aggregations.ExtendedBounds.Builder<T>
- All Implemented Interfaces:
ObjectBuilder<ExtendedBounds<T>>
- Enclosing class:
- ExtendedBounds<T>
public static class ExtendedBounds.Builder<T> extends ObjectBuilderBase implements ObjectBuilder<ExtendedBounds<T>>
Builder for
ExtendedBounds
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ExtendedBounds<T>
build()
Builds aExtendedBounds
.ExtendedBounds.Builder<T>
max(T value)
Required - API name:max
ExtendedBounds.Builder<T>
min(T value)
Required - API name:min
ExtendedBounds.Builder<T>
tSerializer(JsonpSerializer<T> value)
Serializer for T.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
-
max
Required - API name:max
-
min
Required - API name:min
-
tSerializer
Serializer for T. If not set, an attempt will be made to find a serializer from the JSON context. -
build
Builds aExtendedBounds
.- Specified by:
build
in interfaceObjectBuilder<T>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-