Class NestedSortValue.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NestedSortValue.Builder>
co.elastic.clients.elasticsearch._types.NestedSortValue.Builder
- All Implemented Interfaces:
WithJson<NestedSortValue.Builder>,ObjectBuilder<NestedSortValue>
- Enclosing class:
- NestedSortValue
public static class NestedSortValue.Builder
extends WithJsonObjectBuilderBase<NestedSortValue.Builder>
implements ObjectBuilder<NestedSortValue>
Builder for
NestedSortValue.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNestedSortValue.final NestedSortValue.BuilderAPI name:filterfinal NestedSortValue.BuilderAPI name:filterfinal NestedSortValue.BuildermaxChildren(Integer value) API name:max_childrenfinal NestedSortValue.Buildernested(NestedSortValue value) API name:nestedfinal NestedSortValue.BuilderAPI name:nestedfinal NestedSortValue.BuilderRequired - API name:pathprotected NestedSortValue.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filter
API name:filter -
filter
API name:filter -
maxChildren
API name:max_children -
nested
API name:nested -
nested
public final NestedSortValue.Builder nested(Function<NestedSortValue.Builder, ObjectBuilder<NestedSortValue>> fn) API name:nested -
path
Required - API name:path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NestedSortValue.Builder>
-
build
Builds aNestedSortValue.- Specified by:
buildin interfaceObjectBuilder<NestedSortValue>- Throws:
NullPointerException- if some of the required fields are null.
-