Package org.elasticsearch.client.ml
Class PutCalendarJobRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.client.ml.PutCalendarJobRequest
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable
,org.elasticsearch.core.RefCounted
,org.elasticsearch.tasks.TaskAwareRequest
public class PutCalendarJobRequest
extends org.elasticsearch.action.ActionRequest
Request class for adding Machine Learning Jobs to an existing calendar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
org.elasticsearch.transport.TransportRequest.Empty
-
Constructor Summary
ConstructorDescriptionPutCalendarJobRequest
(String calendarId, String... jobIds) Create a new request referencing an existing Calendar and which JobIds to add to it. -
Method Summary
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeTo
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toString
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
PutCalendarJobRequest
Create a new request referencing an existing Calendar and which JobIds to add to it.- Parameters:
calendarId
- The non-null ID of the calendarjobIds
- JobIds to add to the calendar, cannot be empty, or contain null values. It can be a list of jobs or groups.
-
-
Method Details