Class PutCalendarJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PutCalendarJobRequest
public class PutCalendarJobRequest extends RequestBase
Adds an anomaly detection job to a calendar.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutCalendarJobRequest.Builder
Builder forPutCalendarJobRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<PutCalendarJobRequest,PutCalendarJobResponse,ErrorResponse>
_ENDPOINT
Endpoint "ml.put_calendar_job
". -
Method Summary
Modifier and Type Method Description java.lang.String
calendarId()
Required - A string that uniquely identifies a calendar.java.lang.String
jobId()
Required - An identifier for the anomaly detection jobs.static PutCalendarJobRequest
of(java.util.function.Function<PutCalendarJobRequest.Builder,ObjectBuilder<PutCalendarJobRequest>> fn)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<PutCalendarJobRequest,PutCalendarJobResponse,ErrorResponse> _ENDPOINTEndpoint "ml.put_calendar_job
".
-
-
Method Details
-
of
public static PutCalendarJobRequest of(java.util.function.Function<PutCalendarJobRequest.Builder,ObjectBuilder<PutCalendarJobRequest>> fn) -
calendarId
public final java.lang.String calendarId()Required - A string that uniquely identifies a calendar.API name:
calendar_id
-
jobId
public final java.lang.String jobId()Required - An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.API name:
job_id
-