Class BulkRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.monitoring.BulkRequest
- All Implemented Interfaces:
JsonpSerializable,NdJsonpSerializable
Send monitoring data. This API is used by the monitoring features to send
monitoring data.
- 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 Endpoint<BulkRequest,BulkResponse, ErrorResponse> Endpoint "monitoring.bulk". -
Method Summary
Modifier and TypeMethodDescriptionIterator<?>final Timeinterval()Required - Collection interval (e.g., '10s' or '10000ms') of the payloadstatic BulkRequestfinal List<BulkOperation>Required - Request body.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.final StringRequired -final StringsystemId()Required - Identifier of the monitored systemfinal Stringtype()Deprecated.7.0.0Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "monitoring.bulk".
-
-
Method Details
-
of
-
_serializables
- Specified by:
_serializablesin interfaceNdJsonpSerializable
-
interval
Required - Collection interval (e.g., '10s' or '10000ms') of the payloadAPI name:
interval -
systemApiVersion
Required -API name:
system_api_version -
systemId
Required - Identifier of the monitored systemAPI name:
system_id -
type
Deprecated.7.0.0Default document type for items which don't provide oneAPI name:
type -
operations
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-