Class PutCalendarJobResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PutCalendarJobResponse.Builder>
co.elastic.clients.elasticsearch.ml.PutCalendarJobResponse.Builder
- All Implemented Interfaces:
WithJson<PutCalendarJobResponse.Builder>
,ObjectBuilder<PutCalendarJobResponse>
- Enclosing class:
- PutCalendarJobResponse
public static class PutCalendarJobResponse.Builder
extends WithJsonObjectBuilderBase<PutCalendarJobResponse.Builder>
implements ObjectBuilder<PutCalendarJobResponse>
Builder for
PutCalendarJobResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPutCalendarJobResponse
.calendarId
(String value) Required - A string that uniquely identifies a calendar.description
(String value) A description of the calendar.Required - A list of anomaly detection job identifiers or group names.Required - A list of anomaly detection job identifiers or group names.protected PutCalendarJobResponse.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calendarId
Required - A string that uniquely identifies a calendar.API name:
calendar_id
-
description
A description of the calendar.API name:
description
-
jobIds
Required - A list of anomaly detection job identifiers or group names.API name:
job_ids
Adds all elements of
list
tojobIds
. -
jobIds
Required - A list of anomaly detection job identifiers or group names.API name:
job_ids
Adds one or more values to
jobIds
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PutCalendarJobResponse.Builder>
-
build
Builds aPutCalendarJobResponse
.- Specified by:
build
in interfaceObjectBuilder<PutCalendarJobResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-