Class TermsQueryField.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.TermsQueryField.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TermsQueryField>
- Enclosing class:
- TermsQueryField
public static class TermsQueryField.Builder extends ObjectBuilderBase implements ObjectBuilder<TermsQueryField>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TermsQueryField.Builder
_kind(TermsQueryField.Kind v)
protected TermsQueryField.Builder
_value(java.lang.Object v)
TermsQueryField
build()
ObjectBuilder<TermsQueryField>
lookup(java.util.function.Function<TermsLookup.Builder,ObjectBuilder<TermsLookup>> fn)
ObjectBuilder<TermsQueryField>
lookup(TermsLookup v)
ObjectBuilder<TermsQueryField>
value(java.util.List<FieldValue> v)
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
_kind
protected final TermsQueryField.Builder _kind(TermsQueryField.Kind v)
-
_value
protected final TermsQueryField.Builder _value(java.lang.Object v)
-
value
public ObjectBuilder<TermsQueryField> value(java.util.List<FieldValue> v)
-
lookup
public ObjectBuilder<TermsQueryField> lookup(TermsLookup v)
-
lookup
public ObjectBuilder<TermsQueryField> lookup(java.util.function.Function<TermsLookup.Builder,ObjectBuilder<TermsLookup>> fn)
-
build
public TermsQueryField build()
- Specified by:
build
in interfaceObjectBuilder<TermsQueryField>
-
-