Class ExecutePolicyRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.enrich.ExecutePolicyRequest
public class ExecutePolicyRequest extends RequestBase
Creates the enrich index for an existing enrich policy.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutePolicyRequest.BuilderBuilder forExecutePolicyRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<ExecutePolicyRequest,ExecutePolicyResponse,ErrorResponse>_ENDPOINTEndpoint "enrich.execute_policy". -
Method Summary
Modifier and Type Method Description java.lang.Stringname()Required - The name of the enrich policystatic ExecutePolicyRequestof(java.util.function.Function<ExecutePolicyRequest.Builder,ObjectBuilder<ExecutePolicyRequest>> fn)java.lang.BooleanwaitForCompletion()Should the request should block until the execution is complete.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "enrich.execute_policy".
-
-
Method Details
-
of
public static ExecutePolicyRequest of(java.util.function.Function<ExecutePolicyRequest.Builder,ObjectBuilder<ExecutePolicyRequest>> fn) -
name
public final java.lang.String name()Required - The name of the enrich policyAPI name:
name -
waitForCompletion
@Nullable public final java.lang.Boolean waitForCompletion()Should the request should block until the execution is complete.API name:
wait_for_completion
-