Class ResetJobRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ResetJobRequest.Builder>
co.elastic.clients.elasticsearch.ml.ResetJobRequest.Builder
- All Implemented Interfaces:
WithJson<ResetJobRequest.Builder>,ObjectBuilder<ResetJobRequest>
- Enclosing class:
- ResetJobRequest
public static class ResetJobRequest.Builder
extends RequestBase.AbstractBuilder<ResetJobRequest.Builder>
implements ObjectBuilder<ResetJobRequest>
Builder for
ResetJobRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aResetJobRequest.final ResetJobRequest.BuilderdeleteUserAnnotations(Boolean value) Specifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.final ResetJobRequest.BuilderRequired - The ID of the job to reset.protected ResetJobRequest.Builderself()final ResetJobRequest.BuilderwaitForCompletion(Boolean value) Should this request wait until the operation has completed before returning.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deleteUserAnnotations
Specifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.API name:
delete_user_annotations -
jobId
Required - The ID of the job to reset.API name:
job_id -
waitForCompletion
Should this request wait until the operation has completed before returning.API name:
wait_for_completion -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ResetJobRequest.Builder>
-
build
Builds aResetJobRequest.- Specified by:
buildin interfaceObjectBuilder<ResetJobRequest>- Throws:
NullPointerException- if some of the required fields are null.
-