Class DeleteModelSnapshotRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.DeleteModelSnapshotRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteModelSnapshotRequest>
- Enclosing class:
- DeleteModelSnapshotRequest
public static class DeleteModelSnapshotRequest.Builder extends java.lang.Object 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)
The ID of the job to fetchDeleteModelSnapshotRequest.Builder
snapshotId(java.lang.String value)
The ID of the snapshot to deleteMethods 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
The ID of the job to fetchAPI name:
job_id
-
snapshotId
The ID of the snapshot to deleteAPI name:
snapshot_id
-
build
Builds aDeleteModelSnapshotRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteModelSnapshotRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-