Class StopJobRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.rollup.StopJobRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<StopJobRequest>
- Enclosing class:
- StopJobRequest
public static class StopJobRequest.Builder extends java.lang.Object implements ObjectBuilder<StopJobRequest>
Builder for
StopJobRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopJobRequestbuild()Builds aStopJobRequest.StopJobRequest.Builderid(java.lang.String value)Required - The ID of the job to stopStopJobRequest.Buildertimeout(java.lang.String value)Block for (at maximum) the specified duration while waiting for the job to stop.StopJobRequest.BuilderwaitForCompletion(java.lang.Boolean value)True if the API should block until the job has fully stopped, false if should be executed async.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
-
id
Required - The ID of the job to stopAPI name:
id -
timeout
Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.API name:
timeout -
waitForCompletion
True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.API name:
wait_for_completion -
build
Builds aStopJobRequest.- Specified by:
buildin interfaceObjectBuilder<StopJobRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-