Class ExecutePolicyRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.enrich.ExecutePolicyRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExecutePolicyRequest>
- Enclosing class:
- ExecutePolicyRequest
public static class ExecutePolicyRequest.Builder extends java.lang.Object implements ObjectBuilder<ExecutePolicyRequest>
Builder for
ExecutePolicyRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ExecutePolicyRequest
build()
Builds aExecutePolicyRequest
.ExecutePolicyRequest.Builder
name(java.lang.String value)
Required - The name of the enrich policyExecutePolicyRequest.Builder
waitForCompletion(java.lang.Boolean value)
Should the request should block until the execution is complete.Methods 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
-
build
Builds aExecutePolicyRequest
.- Specified by:
build
in interfaceObjectBuilder<ExecutePolicyRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-