Class ExecutePolicyRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ExecutePolicyRequest.Builder>
co.elastic.clients.elasticsearch.enrich.ExecutePolicyRequest.Builder
- All Implemented Interfaces:
WithJson<ExecutePolicyRequest.Builder>,ObjectBuilder<ExecutePolicyRequest>
- Enclosing class:
- ExecutePolicyRequest
public static class ExecutePolicyRequest.Builder extends RequestBase.AbstractBuilder<ExecutePolicyRequest.Builder> implements ObjectBuilder<ExecutePolicyRequest>
Builder for
ExecutePolicyRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExecutePolicyRequestbuild()Builds aExecutePolicyRequest.ExecutePolicyRequest.Buildername(java.lang.String value)Required - The name of the enrich policyprotected ExecutePolicyRequest.Builderself()ExecutePolicyRequest.BuilderwaitForCompletion(java.lang.Boolean value)Should the request should block until the execution is complete.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
-
name
Required - The name of the enrich policyAPI name:
name -
waitForCompletion
Should the request should block until the execution is complete.API name:
wait_for_completion -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ExecutePolicyRequest.Builder>
-
build
Builds aExecutePolicyRequest.- Specified by:
buildin interfaceObjectBuilder<ExecutePolicyRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-