Class ExtendedBounds.Builder<T>
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.ExtendedBounds.Builder<T>
- All Implemented Interfaces:
CopyableBuilder<ExtendedBounds.Builder<T>,,ExtendedBounds<T>> MutableBuilder<ExtendedBounds.Builder<T>,,ExtendedBounds<T>> ObjectBuilder<ExtendedBounds<T>>
- Enclosing class:
ExtendedBounds<T>
public static class ExtendedBounds.Builder<T>
extends ObjectBuilderBase
implements CopyableBuilder<ExtendedBounds.Builder<T>,ExtendedBounds<T>>
Builder for
ExtendedBounds.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExtendedBounds.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ExtendedBounds.Builder<T> Required - API name:maxfinal ExtendedBounds.Builder<T> Required - API name:minfinal ExtendedBounds.Builder<T> tSerializer(JsonpSerializer<T> value) Serializer forT.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ExtendedBounds.Builder<T>,ExtendedBounds<T>> - Returns:
- a new builder instance.
-
max
Required - API name:max -
min
Required - API name:min -
tSerializer
Serializer forT. If not set, an attempt will be made to find a serializer from the JSON context. -
build
Builds aExtendedBounds.- Specified by:
buildin interfaceObjectBuilder<T>- Throws:
NullPointerException- if some of the required fields are null.
-