Class StopTransformRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.transform.StopTransformRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<StopTransformRequest>
- Enclosing class:
- StopTransformRequest
public static class StopTransformRequest.Builder extends java.lang.Object implements ObjectBuilder<StopTransformRequest>
Builder for
StopTransformRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopTransformRequest.BuilderallowNoMatch(java.lang.Boolean value)Whether to ignore if a wildcard expression matches no transforms.StopTransformRequestbuild()Builds aStopTransformRequest.StopTransformRequest.Builderforce(java.lang.Boolean value)Whether to force stop a failed transform or not.StopTransformRequest.Buildertimeout(java.lang.String value)Controls the time to wait until the transform has stopped.StopTransformRequest.BuildertransformId(java.lang.String value)Required - The id of the transform to stopStopTransformRequest.BuilderwaitForCheckpoint(java.lang.Boolean value)Whether to wait for the transform to reach a checkpoint before stopping.StopTransformRequest.BuilderwaitForCompletion(java.lang.Boolean value)Whether to wait for the transform to fully stop before returning or not.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
-
transformId
Required - The id of the transform to stopAPI name:
transform_id -
allowNoMatch
Whether to ignore if a wildcard expression matches no transforms. (This includes_allstring or when no transforms have been specified)API name:
allow_no_match -
force
Whether to force stop a failed transform or not. Default to falseAPI name:
force -
timeout
Controls the time to wait until the transform has stopped. Default to 30 secondsAPI name:
timeout -
waitForCheckpoint
Whether to wait for the transform to reach a checkpoint before stopping. Default to falseAPI name:
wait_for_checkpoint -
waitForCompletion
Whether to wait for the transform to fully stop before returning or not. Default to falseAPI name:
wait_for_completion -
build
Builds aStopTransformRequest.- Specified by:
buildin interfaceObjectBuilder<StopTransformRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-