Class DeleteConnectorRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.DeleteConnectorRequest
Delete a connector.
Removes a connector and associated sync jobs. This is a destructive action that is not recoverable. NOTE: This action doesn’t delete any API keys, ingest pipelines, or data indices associated with the connector. These need to be removed manually.
- 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<DeleteConnectorRequest,DeleteConnectorResponse, ErrorResponse> Endpoint "connector.delete". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The unique identifier of the connector to be deletedfinal BooleanA flag indicating if associated sync jobs should be also removed.final Booleanhard()A flag indicating if the connector should be hard deleted.static DeleteConnectorRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteConnectorRequest,DeleteConnectorResponse, _ENDPOINTErrorResponse> Endpoint "connector.delete".
-
-
Method Details
-
of
public static DeleteConnectorRequest of(Function<DeleteConnectorRequest.Builder, ObjectBuilder<DeleteConnectorRequest>> fn) -
connectorId
Required - The unique identifier of the connector to be deletedAPI name:
connector_id -
deleteSyncJobs
A flag indicating if associated sync jobs should be also removed.API name:
delete_sync_jobs -
hard
A flag indicating if the connector should be hard deleted.API name:
hard
-