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.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no transforms.StopTransformRequest
build()
Builds aStopTransformRequest
.StopTransformRequest.Builder
force(java.lang.Boolean value)
Whether to force stop a failed transform or not.StopTransformRequest.Builder
timeout(java.lang.String value)
Controls the time to wait until the transform has stopped.StopTransformRequest.Builder
transformId(java.lang.String value)
Required - The id of the transform to stopStopTransformRequest.Builder
waitForCheckpoint(java.lang.Boolean value)
Whether to wait for the transform to reach a checkpoint before stopping.StopTransformRequest.Builder
waitForCompletion(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_all
string 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:
build
in interfaceObjectBuilder<StopTransformRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-