Package org.elasticsearch.client.ml
Class DeleteModelSnapshotRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.client.ml.DeleteModelSnapshotRequest
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.tasks.TaskAwareRequest
public class DeleteModelSnapshotRequest
extends org.elasticsearch.action.ActionRequest
Request to delete a Machine Learning Model Snapshot Job via its Job and Snapshot IDs
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description DeleteModelSnapshotRequest(java.lang.String jobId, java.lang.String snapshotId) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetJobId()java.lang.StringgetSnapshotId()inthashCode()org.elasticsearch.action.ActionRequestValidationExceptionvalidate()Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
DeleteModelSnapshotRequest
public DeleteModelSnapshotRequest(java.lang.String jobId, java.lang.String snapshotId)
-
-
Method Details
-
getJobId
public java.lang.String getJobId() -
getSnapshotId
public java.lang.String getSnapshotId() -
validate
public org.elasticsearch.action.ActionRequestValidationException validate()- Specified by:
validatein classorg.elasticsearch.action.ActionRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-