Class DeleteModelSnapshotRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.DeleteModelSnapshotRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteModelSnapshotRequest>
- Enclosing class:
- DeleteModelSnapshotRequest
public static class DeleteModelSnapshotRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteModelSnapshotRequest>
Builder for
DeleteModelSnapshotRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeleteModelSnapshotRequest
build()
Builds aDeleteModelSnapshotRequest
.DeleteModelSnapshotRequest.Builder
jobId(java.lang.String value)
Required - Identifier for the anomaly detection job.DeleteModelSnapshotRequest.Builder
snapshotId(java.lang.String value)
Required - Identifier for the model snapshot.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
jobId
Required - Identifier for the anomaly detection job.API name:
job_id
-
snapshotId
Required - Identifier for the model snapshot.API name:
snapshot_id
-
build
Builds aDeleteModelSnapshotRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteModelSnapshotRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-