Class NestedSortValue.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.NestedSortValue.Builder
- All Implemented Interfaces:
ObjectBuilder<NestedSortValue>
- Enclosing class:
- NestedSortValue
public static class NestedSortValue.Builder extends ObjectBuilderBase implements ObjectBuilder<NestedSortValue>
Builder for
NestedSortValue
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NestedSortValue
build()
Builds aNestedSortValue
.NestedSortValue.Builder
filter(Query value)
API name:filter
NestedSortValue.Builder
filter(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)
API name:filter
NestedSortValue.Builder
maxChildren(java.lang.Integer value)
API name:max_children
NestedSortValue.Builder
nested(NestedSortValue value)
API name:nested
NestedSortValue.Builder
nested(java.util.function.Function<NestedSortValue.Builder,ObjectBuilder<NestedSortValue>> fn)
API name:nested
NestedSortValue.Builder
path(java.lang.String value)
Required - API name:path
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
-
filter
API name:filter
-
filter
public final NestedSortValue.Builder filter(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)API name:filter
-
maxChildren
API name:max_children
-
nested
API name:nested
-
nested
public final NestedSortValue.Builder nested(java.util.function.Function<NestedSortValue.Builder,ObjectBuilder<NestedSortValue>> fn)API name:nested
-
path
Required - API name:path
-
build
Builds aNestedSortValue
.- Specified by:
build
in interfaceObjectBuilder<NestedSortValue>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-