Class PutCalendarJobRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.PutCalendarJobRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<PutCalendarJobRequest>
- Enclosing class:
- PutCalendarJobRequest
public static class PutCalendarJobRequest.Builder extends java.lang.Object implements ObjectBuilder<PutCalendarJobRequest>
Builder for
PutCalendarJobRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PutCalendarJobRequestbuild()Builds aPutCalendarJobRequest.PutCalendarJobRequest.BuildercalendarId(java.lang.String value)Required - A string that uniquely identifies a calendar.PutCalendarJobRequest.BuilderjobId(java.lang.String value)Required - An identifier for the anomaly detection jobs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calendarId
Required - A string that uniquely identifies a calendar.API name:
calendar_id -
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 -
build
Builds aPutCalendarJobRequest.- Specified by:
buildin interfaceObjectBuilder<PutCalendarJobRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-