Class SyncJobErrorRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.SyncJobErrorRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class SyncJobErrorRequest
extends RequestBase
implements JsonpSerializable
Set a connector sync job error. Set the
error
field for a
connector sync job and set its status
to error
.
To sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure. This service runs automatically on Elastic Cloud for Elastic managed connectors.
- 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<SyncJobErrorRequest>
Json deserializer forSyncJobErrorRequest
static final Endpoint<SyncJobErrorRequest,
SyncJobErrorResponse, ErrorResponse> Endpoint "connector.sync_job_error
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - The unique identifier for the connector sync job.final String
error()
Required - The error for the connector sync job error field.static SyncJobErrorRequest
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 forSyncJobErrorRequest
-
_ENDPOINT
Endpoint "connector.sync_job_error
".
-
-
Method Details
-
of
public static SyncJobErrorRequest of(Function<SyncJobErrorRequest.Builder, ObjectBuilder<SyncJobErrorRequest>> fn) -
connectorSyncJobId
Required - The unique identifier for the connector sync job.API name:
connector_sync_job_id
-
error
Required - The error for the connector sync job error field.API name:
error
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSyncJobErrorRequestDeserializer
protected static void setupSyncJobErrorRequestDeserializer(ObjectDeserializer<SyncJobErrorRequest.Builder> op)
-