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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FieldLookupbuild()Builds aFieldLookup.FieldLookup.Builderid(java.lang.String value)Required - API name:idFieldLookup.Builderindex(java.lang.String value)API name:indexFieldLookup.Builderpath(java.lang.String value)API name:pathFieldLookup.Builderrouting(java.lang.String value)API name:routingprotected FieldLookup.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Required - API name:id -
index
API name:index -
path
API name:path -
routing
API name:routing -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FieldLookup.Builder>
-
build
Builds aFieldLookup.- Specified by:
buildin interfaceObjectBuilder<FieldLookup>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-