Class PutCalendarJobRequest

All Implemented Interfaces:, org.elasticsearch.common.util.concurrent.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


    Nested classes/interfaces inherited from interface<V extends java.lang.Object>,<V extends java.lang.Object>
  • Constructor Summary

    Constructor Description
    PutCalendarJobRequest​(java.lang.String calendarId, java.lang.String... jobIds)
    Create a new request referencing an existing Calendar and which JobIds to add to it.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object other)  
    java.lang.String getCalendarId()  
    java.util.List<java.lang.String> getJobIds()  
    int hashCode()  
    org.elasticsearch.action.ActionRequestValidationException validate()  

    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

    decRef, incRef, remoteAddress, remoteAddress, tryIncRef

    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 Details

    • PutCalendarJobRequest

      public PutCalendarJobRequest​(java.lang.String calendarId, java.lang.String... jobIds)
      Create a new request referencing an existing Calendar and which JobIds to add to it.
      calendarId - The non-null ID of the calendar
      jobIds - JobIds to add to 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:
      validate in class org.elasticsearch.action.ActionRequest
    • hashCode

      public int hashCode()
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object other)
      equals in class java.lang.Object