Class ExtendedBounds.Builder<T>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ExtendedBounds.Builder<T>>
co.elastic.clients.elasticsearch._types.aggregations.ExtendedBounds.Builder<T>
- All Implemented Interfaces:
WithJson<ExtendedBounds.Builder<T>>,ObjectBuilder<ExtendedBounds<T>>
- Enclosing class:
- ExtendedBounds<T>
public static class ExtendedBounds.Builder<T> extends WithJsonObjectBuilderBase<ExtendedBounds.Builder<T>> 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:maxExtendedBounds.Builder<T>min(T value)Required - API name:minprotected ExtendedBounds.Builder<T>self()ExtendedBounds.Builder<T>tSerializer(JsonpSerializer<T> value)Serializer for T.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ExtendedBounds.Builder<T>>
-
build
Builds aExtendedBounds.- Specified by:
buildin interfaceObjectBuilder<T>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-