Class FieldLookup.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.FieldLookup.Builder
-
- All Implemented Interfaces:
ObjectBuilder<FieldLookup>
- Enclosing class:
- FieldLookup
public static class FieldLookup.Builder extends ObjectBuilderBase implements ObjectBuilder<FieldLookup>
Builder forFieldLookup.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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:routing-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
id
public final FieldLookup.Builder id(java.lang.String value)
Required - API name:id
-
index
public final FieldLookup.Builder index(@Nullable java.lang.String value)
API name:index
-
path
public final FieldLookup.Builder path(@Nullable java.lang.String value)
API name:path
-
routing
public final FieldLookup.Builder routing(@Nullable java.lang.String value)
API name:routing
-
build
public FieldLookup build()
Builds aFieldLookup.- Specified by:
buildin interfaceObjectBuilder<FieldLookup>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-