Class DeleteConnectorRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteConnectorRequest.Builder>
co.elastic.clients.elasticsearch.connector.DeleteConnectorRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteConnectorRequest.Builder>
,ObjectBuilder<DeleteConnectorRequest>
- Enclosing class:
- DeleteConnectorRequest
public static class DeleteConnectorRequest.Builder
extends RequestBase.AbstractBuilder<DeleteConnectorRequest.Builder>
implements ObjectBuilder<DeleteConnectorRequest>
Builder for
DeleteConnectorRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteConnectorRequest
.connectorId
(String value) Required - The unique identifier of the connector to be deleteddeleteSyncJobs
(Boolean value) A flag indicating if associated sync jobs should be also removed.protected DeleteConnectorRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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. Defaults to false.API name:
delete_sync_jobs
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteConnectorRequest.Builder>
-
build
Builds aDeleteConnectorRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteConnectorRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-