Class ExtendedBounds.Builder<T>
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._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 forExtendedBounds.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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:minExtendedBounds.Builder<T>tSerializer(JsonpSerializer<T> value)Serializer for T.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
max
public final ExtendedBounds.Builder<T> max(T value)
Required - API name:max
-
min
public final ExtendedBounds.Builder<T> min(T value)
Required - API name:min
-
tSerializer
public final ExtendedBounds.Builder<T> tSerializer(@Nullable JsonpSerializer<T> value)
Serializer for T. If not set, an attempt will be made to find a serializer from the JSON context.
-
build
public ExtendedBounds<T> build()
Builds aExtendedBounds.- Specified by:
buildin interfaceObjectBuilder<T>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-