Class PutCalendarRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PutCalendarRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutCalendarRequest
extends RequestBase
implements JsonpSerializable
Creates a calendar.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutCalendarRequest>
Json deserializer forPutCalendarRequest
static final Endpoint<PutCalendarRequest,
PutCalendarResponse, ErrorResponse> Endpoint "ml.put_calendar
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - A string that uniquely identifies a calendar.final String
A description of the calendar.jobIds()
An array of anomaly detection job identifiers.static PutCalendarRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutCalendarRequest
-
_ENDPOINT
Endpoint "ml.put_calendar
".
-
-
Method Details
-
of
public static PutCalendarRequest of(Function<PutCalendarRequest.Builder, ObjectBuilder<PutCalendarRequest>> fn) -
calendarId
Required - A string that uniquely identifies a calendar.API name:
calendar_id
-
description
A description of the calendar.API name:
description
-
jobIds
An array of anomaly detection job identifiers.API name:
job_ids
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPutCalendarRequestDeserializer
protected static void setupPutCalendarRequestDeserializer(ObjectDeserializer<PutCalendarRequest.Builder> op)
-