Class ArrayCompareOpParams.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ArrayCompareOpParams.Builder>
co.elastic.clients.elasticsearch.watcher.ArrayCompareOpParams.Builder
- All Implemented Interfaces:
WithJson<ArrayCompareOpParams.Builder>
,ObjectBuilder<ArrayCompareOpParams>
- Enclosing class:
- ArrayCompareOpParams
public static class ArrayCompareOpParams.Builder
extends WithJsonObjectBuilderBase<ArrayCompareOpParams.Builder>
implements ObjectBuilder<ArrayCompareOpParams>
Builder for
ArrayCompareOpParams
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aArrayCompareOpParams
.quantifier
(Quantifier value) Required - API name:quantifier
protected ArrayCompareOpParams.Builder
self()
value
(boolean value) Required - API name:value
value
(double value) Required - API name:value
value
(long value) Required - API name:value
value
(FieldValue value) Required - API name:value
Required - API name:value
Required - API name:value
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
quantifier
Required - API name:quantifier
-
value
Required - API name:value
-
value
public final ArrayCompareOpParams.Builder value(Function<FieldValue.Builder, ObjectBuilder<FieldValue>> fn) Required - API name:value
-
value
Required - API name:value
-
value
Required - API name:value
-
value
Required - API name:value
-
value
Required - API name:value
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ArrayCompareOpParams.Builder>
-
build
Builds aArrayCompareOpParams
.- Specified by:
build
in interfaceObjectBuilder<ArrayCompareOpParams>
- Throws:
NullPointerException
- if some of the required fields are null.
-