Class FieldLookup.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FieldLookup.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.FieldLookup.Builder
- All Implemented Interfaces:
WithJson<FieldLookup.Builder>,ObjectBuilder<FieldLookup>
- Enclosing class:
- FieldLookup
public static class FieldLookup.Builder
extends WithJsonObjectBuilderBase<FieldLookup.Builder>
implements ObjectBuilder<FieldLookup>
Builder for
FieldLookup.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldLookup.final FieldLookup.BuilderRequired -idof the document.final FieldLookup.BuilderIndex from which to retrieve the document.final FieldLookup.BuilderName of the field.final FieldLookup.BuilderCustom routing value.protected FieldLookup.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
-
id
Required -idof the document.API name:
id -
index
Index from which to retrieve the document.API name:
index -
path
Name of the field.API name:
path -
routing
Custom routing value.API name:
routing -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FieldLookup.Builder>
-
build
Builds aFieldLookup.- Specified by:
buildin interfaceObjectBuilder<FieldLookup>- Throws:
NullPointerException- if some of the required fields are null.
-