Class NestedSortValue.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.NestedSortValue.Builder
-
- All Implemented Interfaces:
ObjectBuilder<NestedSortValue>
- Enclosing class:
- NestedSortValue
public static class NestedSortValue.Builder extends ObjectBuilderBase implements ObjectBuilder<NestedSortValue>
Builder forNestedSortValue.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedSortValuebuild()Builds aNestedSortValue.NestedSortValue.Builderfilter(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)API name:filterNestedSortValue.Builderfilter(Query value)API name:filterNestedSortValue.BuildermaxChildren(java.lang.Integer value)API name:max_childrenNestedSortValue.Buildernested(java.util.function.Function<NestedSortValue.Builder,ObjectBuilder<NestedSortValue>> fn)API name:nestedNestedSortValue.Buildernested(NestedSortValue value)API name:nestedNestedSortValue.Builderpath(java.lang.String value)Required - API name:path-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
filter
public final NestedSortValue.Builder filter(@Nullable Query value)
API name:filter
-
filter
public final NestedSortValue.Builder filter(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)
API name:filter
-
maxChildren
public final NestedSortValue.Builder maxChildren(@Nullable java.lang.Integer value)
API name:max_children
-
nested
public final NestedSortValue.Builder nested(@Nullable NestedSortValue value)
API name:nested
-
nested
public final NestedSortValue.Builder nested(java.util.function.Function<NestedSortValue.Builder,ObjectBuilder<NestedSortValue>> fn)
API name:nested
-
path
public final NestedSortValue.Builder path(java.lang.String value)
Required - API name:path
-
build
public NestedSortValue build()
Builds aNestedSortValue.- Specified by:
buildin interfaceObjectBuilder<NestedSortValue>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-