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:
Writeable,TaskAwareRequest
public class DeleteCalendarJobRequest extends ActionRequest
Request class for removing Machine Learning Jobs from an existing calendar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description DeleteCalendarJobRequest(String calendarId, String... jobIds)Create a new request referencing an existing Calendar and which JobIds to remove from it.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetCalendarId()List<String>getJobIds()inthashCode()ActionRequestValidationExceptionvalidate()-
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeTo
-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
-
-
-
Constructor Detail
-
DeleteCalendarJobRequest
public DeleteCalendarJobRequest(String calendarId, 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 Detail
-
getCalendarId
public String getCalendarId()
-
validate
public ActionRequestValidationException validate()
- Specified by:
validatein classActionRequest
-
-