Class PutJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.PutJobRequest
- All Implemented Interfaces:
JsonpSerializable
Creates a rollup job.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutJobRequest>Json deserializer forPutJobRequeststatic final Endpoint<PutJobRequest,PutJobResponse, ErrorResponse> Endpoint "rollup.put_job". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringcron()API name:cronfinal Groupingsgroups()API name:groupsfinal Stringid()Required - The ID of the job to createfinal StringAPI name:index_patternfinal List<FieldMetric>metrics()API name:metricsstatic PutJobRequestfinal LongpageSize()API name:page_sizefinal StringAPI name:rollup_indexvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutJobRequest -
_ENDPOINT
Endpoint "rollup.put_job".
-
-
Method Details
-
of
-
cron
API name:cron -
groups
API name:groups -
id
Required - The ID of the job to createAPI name:
id -
indexPattern
API name:index_pattern -
metrics
API name:metrics -
pageSize
API name:page_size -
rollupIndex
API name:rollup_index -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutJobRequestDeserializer
-