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