Package org.elasticsearch.client.ml
Class DeleteCalendarJobRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.client.ml.DeleteCalendarJobRequest
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.tasks.TaskAwareRequest
public class DeleteCalendarJobRequest
extends org.elasticsearch.action.ActionRequest
Request class for removing Machine Learning Jobs from an existing calendar
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description DeleteCalendarJobRequest(java.lang.String calendarId, java.lang.String... jobIds)Create a new request referencing an existing Calendar and which JobIds to remove from it. -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetCalendarId()java.util.List<java.lang.String>getJobIds()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
-
DeleteCalendarJobRequest
public DeleteCalendarJobRequest(java.lang.String calendarId, java.lang.String... jobIds)Create a new request referencing an existing Calendar and which JobIds to remove from it.- Parameters:
calendarId- The non-null ID of the calendarjobIds- JobIds to remove from the calendar, cannot be empty, or contain null values. It can be a list of jobs or groups.
-
-
Method Details
-
getJobIds
public java.util.List<java.lang.String> getJobIds() -
getCalendarId
public java.lang.String getCalendarId() -
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 other)- Overrides:
equalsin classjava.lang.Object
-