Class ElasticsearchConnectorClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Field SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchConnectorClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier and TypeMethodDescriptioncheckIn(CheckInRequest request) Check in a connector.final CheckInResponseCheck in a connector.delete(DeleteConnectorRequest request) Delete a connector.final DeleteConnectorResponseDelete a connector.get(GetConnectorRequest request) Get a connector.final GetConnectorResponseGet a connector.list()Get all connectors.list(ListRequest request) Get all connectors.final ListResponseGet all connectors.post()Create a connector.post(PostRequest request) Create a connector.final PostResponseCreate a connector.put()Create or update a connector.put(PutRequest request) Create or update a connector.final PutResponseCreate or update a connector.syncJobCancel(SyncJobCancelRequest request) Cancel a connector sync job.final SyncJobCancelResponseCancel a connector sync job.syncJobCheckIn(SyncJobCheckInRequest request) Check in a connector sync job.final SyncJobCheckInResponseCheck in a connector sync job.syncJobClaim(SyncJobClaimRequest request) Claim a connector sync job.final SyncJobClaimResponseClaim a connector sync job.syncJobDelete(SyncJobDeleteRequest request) Delete a connector sync job.final SyncJobDeleteResponseDelete a connector sync job.syncJobError(SyncJobErrorRequest request) Set a connector sync job error.final SyncJobErrorResponseSet a connector sync job error.syncJobGet(SyncJobGetRequest request) Get a connector sync job.final SyncJobGetResponseGet a connector sync job.Get all connector sync jobs.syncJobList(SyncJobListRequest request) Get all connector sync jobs.final SyncJobListResponseGet all connector sync jobs.syncJobPost(SyncJobPostRequest request) Create a connector sync job.final SyncJobPostResponseCreate a connector sync job.Set the connector sync job stats.syncJobUpdateStats(Function<SyncJobUpdateStatsRequest.Builder, ObjectBuilder<SyncJobUpdateStatsRequest>> fn) Set the connector sync job stats.Activate the connector draft filter.updateActiveFiltering(Function<UpdateActiveFilteringRequest.Builder, ObjectBuilder<UpdateActiveFilteringRequest>> fn) Activate the connector draft filter.updateApiKeyId(UpdateApiKeyIdRequest request) Update the connector API key ID.final UpdateApiKeyIdResponseUpdate the connector API key ID.Update the connector configuration.updateConfiguration(Function<UpdateConfigurationRequest.Builder, ObjectBuilder<UpdateConfigurationRequest>> fn) Update the connector configuration.updateError(UpdateErrorRequest request) Update the connector error field.final UpdateErrorResponseUpdate the connector error field.updateFeatures(UpdateFeaturesRequest request) Update the connector features.final UpdateFeaturesResponseUpdate the connector features.updateFiltering(UpdateFilteringRequest request) Update the connector filtering.final UpdateFilteringResponseUpdate the connector filtering.Update the connector draft filtering validation.updateFilteringValidation(Function<UpdateFilteringValidationRequest.Builder, ObjectBuilder<UpdateFilteringValidationRequest>> fn) Update the connector draft filtering validation.updateIndexName(UpdateIndexNameRequest request) Update the connector index name.final UpdateIndexNameResponseUpdate the connector index name.updateName(UpdateNameRequest request) Update the connector name and description.final UpdateNameResponseUpdate the connector name and description.updateNative(UpdateNativeRequest request) Update the connector is_native flag.final UpdateNativeResponseUpdate the connector is_native flag.updatePipeline(UpdatePipelineRequest request) Update the connector pipeline.final UpdatePipelineResponseUpdate the connector pipeline.updateScheduling(UpdateSchedulingRequest request) Update the connector scheduling.final UpdateSchedulingResponseupdateScheduling(Function<UpdateSchedulingRequest.Builder, ObjectBuilder<UpdateSchedulingRequest>> fn) Update the connector scheduling.Update the connector service type.updateServiceType(Function<UpdateServiceTypeRequest.Builder, ObjectBuilder<UpdateServiceTypeRequest>> fn) Update the connector service type.updateStatus(UpdateStatusRequest request) Update the connector status.final UpdateStatusResponseUpdate the connector status.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
- 
Constructor Details- 
ElasticsearchConnectorClient
- 
ElasticsearchConnectorClientpublic ElasticsearchConnectorClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionspublic ElasticsearchConnectorClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchConnectorClient> 
 
- 
checkInCheck in a connector.Update the last_seenfield in the connector and set it to the current timestamp.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
checkInpublic final CheckInResponse checkIn(Function<CheckInRequest.Builder, ObjectBuilder<CheckInRequest>> fn) throws IOException, ElasticsearchExceptionCheck in a connector.Update the last_seenfield in the connector and set it to the current timestamp.- Parameters:
- fn- a function that initializes a builder to create the- CheckInRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
deletepublic DeleteConnectorResponse delete(DeleteConnectorRequest request) throws IOException, ElasticsearchException 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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
deletepublic final DeleteConnectorResponse delete(Function<DeleteConnectorRequest.Builder, ObjectBuilder<DeleteConnectorRequest>> fn) throws IOException, ElasticsearchExceptionDelete 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. - Parameters:
- fn- a function that initializes a builder to create the- DeleteConnectorRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getpublic GetConnectorResponse get(GetConnectorRequest request) throws IOException, ElasticsearchException Get a connector.Get the details about a connector. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
getpublic final GetConnectorResponse get(Function<GetConnectorRequest.Builder, ObjectBuilder<GetConnectorRequest>> fn) throws IOException, ElasticsearchExceptionGet a connector.Get the details about a connector. - Parameters:
- fn- a function that initializes a builder to create the- GetConnectorRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
listGet all connectors.Get information about all connectors. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
listpublic final ListResponse list(Function<ListRequest.Builder, ObjectBuilder<ListRequest>> fn) throws IOException, ElasticsearchExceptionGet all connectors.Get information about all connectors. - Parameters:
- fn- a function that initializes a builder to create the- ListRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
listGet all connectors.Get information about all connectors. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
postCreate a connector.Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
postpublic final PostResponse post(Function<PostRequest.Builder, ObjectBuilder<PostRequest>> fn) throws IOException, ElasticsearchExceptionCreate a connector.Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure. - Parameters:
- fn- a function that initializes a builder to create the- PostRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
postCreate a connector.Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
putCreate or update a connector.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
putpublic final PutResponse put(Function<PutRequest.Builder, ObjectBuilder<PutRequest>> fn) throws IOException, ElasticsearchExceptionCreate or update a connector.- Parameters:
- fn- a function that initializes a builder to create the- PutRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
putCreate or update a connector.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobCancelpublic SyncJobCancelResponse syncJobCancel(SyncJobCancelRequest request) throws IOException, ElasticsearchException Cancel a connector sync job.Cancel a connector sync job, which sets the status to cancelling and updates cancellation_requested_atto the current time. The connector service is then responsible for setting the status of connector sync jobs to cancelled.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobCancelpublic final SyncJobCancelResponse syncJobCancel(Function<SyncJobCancelRequest.Builder, ObjectBuilder<SyncJobCancelRequest>> fn) throws IOException, ElasticsearchExceptionCancel a connector sync job.Cancel a connector sync job, which sets the status to cancelling and updates cancellation_requested_atto the current time. The connector service is then responsible for setting the status of connector sync jobs to cancelled.- Parameters:
- fn- a function that initializes a builder to create the- SyncJobCancelRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobCheckInpublic SyncJobCheckInResponse syncJobCheckIn(SyncJobCheckInRequest request) throws IOException, ElasticsearchException Check in a connector sync job. Check in a connector sync job and set thelast_seenfield to the current time before updating it in the internal index.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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobCheckInpublic final SyncJobCheckInResponse syncJobCheckIn(Function<SyncJobCheckInRequest.Builder, ObjectBuilder<SyncJobCheckInRequest>> fn) throws IOException, ElasticsearchExceptionCheck in a connector sync job. Check in a connector sync job and set thelast_seenfield to the current time before updating it in the internal index.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. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobCheckInRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobClaimpublic SyncJobClaimResponse syncJobClaim(SyncJobClaimRequest request) throws IOException, ElasticsearchException Claim a connector sync job. This action updates the job status toin_progressand sets thelast_seenandstarted_attimestamps to the current time. Additionally, it can set thesync_cursorproperty for the sync job.This API is not intended for direct connector management by users. It supports the implementation of services that utilize the connector protocol to communicate with Elasticsearch. 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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobClaimpublic final SyncJobClaimResponse syncJobClaim(Function<SyncJobClaimRequest.Builder, ObjectBuilder<SyncJobClaimRequest>> fn) throws IOException, ElasticsearchExceptionClaim a connector sync job. This action updates the job status toin_progressand sets thelast_seenandstarted_attimestamps to the current time. Additionally, it can set thesync_cursorproperty for the sync job.This API is not intended for direct connector management by users. It supports the implementation of services that utilize the connector protocol to communicate with Elasticsearch. 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. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobClaimRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobDeletepublic SyncJobDeleteResponse syncJobDelete(SyncJobDeleteRequest request) throws IOException, ElasticsearchException Delete a connector sync job.Remove a connector sync job and its associated data. This is a destructive action that is not recoverable. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobDeletepublic final SyncJobDeleteResponse syncJobDelete(Function<SyncJobDeleteRequest.Builder, ObjectBuilder<SyncJobDeleteRequest>> fn) throws IOException, ElasticsearchExceptionDelete a connector sync job.Remove a connector sync job and its associated data. This is a destructive action that is not recoverable. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobDeleteRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobErrorpublic SyncJobErrorResponse syncJobError(SyncJobErrorRequest request) throws IOException, ElasticsearchException Set a connector sync job error. Set theerrorfield for a connector sync job and set itsstatustoerror.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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobErrorpublic final SyncJobErrorResponse syncJobError(Function<SyncJobErrorRequest.Builder, ObjectBuilder<SyncJobErrorRequest>> fn) throws IOException, ElasticsearchExceptionSet a connector sync job error. Set theerrorfield for a connector sync job and set itsstatustoerror.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. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobErrorRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobGetpublic SyncJobGetResponse syncJobGet(SyncJobGetRequest request) throws IOException, ElasticsearchException Get a connector sync job.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobGetpublic final SyncJobGetResponse syncJobGet(Function<SyncJobGetRequest.Builder, ObjectBuilder<SyncJobGetRequest>> fn) throws IOException, ElasticsearchExceptionGet a connector sync job.- Parameters:
- fn- a function that initializes a builder to create the- SyncJobGetRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobListpublic SyncJobListResponse syncJobList(SyncJobListRequest request) throws IOException, ElasticsearchException Get all connector sync jobs.Get information about all stored connector sync jobs listed by their creation date in ascending order. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobListpublic final SyncJobListResponse syncJobList(Function<SyncJobListRequest.Builder, ObjectBuilder<SyncJobListRequest>> fn) throws IOException, ElasticsearchExceptionGet all connector sync jobs.Get information about all stored connector sync jobs listed by their creation date in ascending order. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobListRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobListGet all connector sync jobs.Get information about all stored connector sync jobs listed by their creation date in ascending order. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobPostpublic SyncJobPostResponse syncJobPost(SyncJobPostRequest request) throws IOException, ElasticsearchException Create a connector sync job.Create a connector sync job document in the internal index and initialize its counters and timestamps with default values. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobPostpublic final SyncJobPostResponse syncJobPost(Function<SyncJobPostRequest.Builder, ObjectBuilder<SyncJobPostRequest>> fn) throws IOException, ElasticsearchExceptionCreate a connector sync job.Create a connector sync job document in the internal index and initialize its counters and timestamps with default values. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobPostRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobUpdateStatspublic SyncJobUpdateStatsResponse syncJobUpdateStats(SyncJobUpdateStatsRequest request) throws IOException, ElasticsearchException Set the connector sync job stats. Stats include:deleted_document_count,indexed_document_count,indexed_document_volume, andtotal_document_count. You can also updatelast_seen. This API is mainly used by the connector service for updating sync job information.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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
syncJobUpdateStatspublic final SyncJobUpdateStatsResponse syncJobUpdateStats(Function<SyncJobUpdateStatsRequest.Builder, ObjectBuilder<SyncJobUpdateStatsRequest>> fn) throws IOException, ElasticsearchExceptionSet the connector sync job stats. Stats include:deleted_document_count,indexed_document_count,indexed_document_volume, andtotal_document_count. You can also updatelast_seen. This API is mainly used by the connector service for updating sync job information.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. - Parameters:
- fn- a function that initializes a builder to create the- SyncJobUpdateStatsRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateActiveFilteringpublic UpdateActiveFilteringResponse updateActiveFiltering(UpdateActiveFilteringRequest request) throws IOException, ElasticsearchException Activate the connector draft filter.Activates the valid draft filtering for a connector. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateActiveFilteringpublic final UpdateActiveFilteringResponse updateActiveFiltering(Function<UpdateActiveFilteringRequest.Builder, ObjectBuilder<UpdateActiveFilteringRequest>> fn) throws IOException, ElasticsearchExceptionActivate the connector draft filter.Activates the valid draft filtering for a connector. - Parameters:
- fn- a function that initializes a builder to create the- UpdateActiveFilteringRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateApiKeyIdpublic UpdateApiKeyIdResponse updateApiKeyId(UpdateApiKeyIdRequest request) throws IOException, ElasticsearchException Update the connector API key ID.Update the api_key_idandapi_key_secret_idfields of a connector. You can specify the ID of the API key used for authorization and the ID of the connector secret where the API key is stored. The connector secret ID is required only for Elastic managed (native) connectors. Self-managed connectors (connector clients) do not use this field.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateApiKeyIdpublic final UpdateApiKeyIdResponse updateApiKeyId(Function<UpdateApiKeyIdRequest.Builder, ObjectBuilder<UpdateApiKeyIdRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector API key ID.Update the api_key_idandapi_key_secret_idfields of a connector. You can specify the ID of the API key used for authorization and the ID of the connector secret where the API key is stored. The connector secret ID is required only for Elastic managed (native) connectors. Self-managed connectors (connector clients) do not use this field.- Parameters:
- fn- a function that initializes a builder to create the- UpdateApiKeyIdRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateConfigurationpublic UpdateConfigurationResponse updateConfiguration(UpdateConfigurationRequest request) throws IOException, ElasticsearchException Update the connector configuration.Update the configuration field in the connector document. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateConfigurationpublic final UpdateConfigurationResponse updateConfiguration(Function<UpdateConfigurationRequest.Builder, ObjectBuilder<UpdateConfigurationRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector configuration.Update the configuration field in the connector document. - Parameters:
- fn- a function that initializes a builder to create the- UpdateConfigurationRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateErrorpublic UpdateErrorResponse updateError(UpdateErrorRequest request) throws IOException, ElasticsearchException Update the connector error field.Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateErrorpublic final UpdateErrorResponse updateError(Function<UpdateErrorRequest.Builder, ObjectBuilder<UpdateErrorRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector error field.Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected. - Parameters:
- fn- a function that initializes a builder to create the- UpdateErrorRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFeaturespublic UpdateFeaturesResponse updateFeatures(UpdateFeaturesRequest request) throws IOException, ElasticsearchException Update the connector features. Update the connector features in the connector document. This API can be used to control the following aspects of a connector:- document-level security
- incremental syncs
- advanced sync rules
- basic sync rules
 Normally, the running connector service automatically manages these features. However, you can use this API to override the default behavior. 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. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFeaturespublic final UpdateFeaturesResponse updateFeatures(Function<UpdateFeaturesRequest.Builder, ObjectBuilder<UpdateFeaturesRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector features. Update the connector features in the connector document. This API can be used to control the following aspects of a connector:- document-level security
- incremental syncs
- advanced sync rules
- basic sync rules
 Normally, the running connector service automatically manages these features. However, you can use this API to override the default behavior. 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. - Parameters:
- fn- a function that initializes a builder to create the- UpdateFeaturesRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFilteringpublic UpdateFilteringResponse updateFiltering(UpdateFilteringRequest request) throws IOException, ElasticsearchException Update the connector filtering.Update the draft filtering configuration of a connector and marks the draft validation state as edited. The filtering draft is activated once validated by the running Elastic connector service. The filtering property is used to configure sync rules (both basic and advanced) for a connector. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFilteringpublic final UpdateFilteringResponse updateFiltering(Function<UpdateFilteringRequest.Builder, ObjectBuilder<UpdateFilteringRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector filtering.Update the draft filtering configuration of a connector and marks the draft validation state as edited. The filtering draft is activated once validated by the running Elastic connector service. The filtering property is used to configure sync rules (both basic and advanced) for a connector. - Parameters:
- fn- a function that initializes a builder to create the- UpdateFilteringRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFilteringValidationpublic UpdateFilteringValidationResponse updateFilteringValidation(UpdateFilteringValidationRequest request) throws IOException, ElasticsearchException Update the connector draft filtering validation.Update the draft filtering validation info for a connector. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateFilteringValidationpublic final UpdateFilteringValidationResponse updateFilteringValidation(Function<UpdateFilteringValidationRequest.Builder, ObjectBuilder<UpdateFilteringValidationRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector draft filtering validation.Update the draft filtering validation info for a connector. - Parameters:
- fn- a function that initializes a builder to create the- UpdateFilteringValidationRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateIndexNamepublic UpdateIndexNameResponse updateIndexName(UpdateIndexNameRequest request) throws IOException, ElasticsearchException Update the connector index name.Update the index_namefield of a connector, specifying the index where the data ingested by the connector is stored.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateIndexNamepublic final UpdateIndexNameResponse updateIndexName(Function<UpdateIndexNameRequest.Builder, ObjectBuilder<UpdateIndexNameRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector index name.Update the index_namefield of a connector, specifying the index where the data ingested by the connector is stored.- Parameters:
- fn- a function that initializes a builder to create the- UpdateIndexNameRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateNamepublic UpdateNameResponse updateName(UpdateNameRequest request) throws IOException, ElasticsearchException Update the connector name and description.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateNamepublic final UpdateNameResponse updateName(Function<UpdateNameRequest.Builder, ObjectBuilder<UpdateNameRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector name and description.- Parameters:
- fn- a function that initializes a builder to create the- UpdateNameRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateNativepublic UpdateNativeResponse updateNative(UpdateNativeRequest request) throws IOException, ElasticsearchException Update the connector is_native flag.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateNativepublic final UpdateNativeResponse updateNative(Function<UpdateNativeRequest.Builder, ObjectBuilder<UpdateNativeRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector is_native flag.- Parameters:
- fn- a function that initializes a builder to create the- UpdateNativeRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updatePipelinepublic UpdatePipelineResponse updatePipeline(UpdatePipelineRequest request) throws IOException, ElasticsearchException Update the connector pipeline.When you create a new connector, the configuration of an ingest pipeline is populated with default settings. - Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updatePipelinepublic final UpdatePipelineResponse updatePipeline(Function<UpdatePipelineRequest.Builder, ObjectBuilder<UpdatePipelineRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector pipeline.When you create a new connector, the configuration of an ingest pipeline is populated with default settings. - Parameters:
- fn- a function that initializes a builder to create the- UpdatePipelineRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateSchedulingpublic UpdateSchedulingResponse updateScheduling(UpdateSchedulingRequest request) throws IOException, ElasticsearchException Update the connector scheduling.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateSchedulingpublic final UpdateSchedulingResponse updateScheduling(Function<UpdateSchedulingRequest.Builder, ObjectBuilder<UpdateSchedulingRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector scheduling.- Parameters:
- fn- a function that initializes a builder to create the- UpdateSchedulingRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateServiceTypepublic UpdateServiceTypeResponse updateServiceType(UpdateServiceTypeRequest request) throws IOException, ElasticsearchException Update the connector service type.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateServiceTypepublic final UpdateServiceTypeResponse updateServiceType(Function<UpdateServiceTypeRequest.Builder, ObjectBuilder<UpdateServiceTypeRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector service type.- Parameters:
- fn- a function that initializes a builder to create the- UpdateServiceTypeRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateStatuspublic UpdateStatusResponse updateStatus(UpdateStatusRequest request) throws IOException, ElasticsearchException Update the connector status.- Throws:
- IOException
- ElasticsearchException
- See Also:
 
- 
updateStatuspublic final UpdateStatusResponse updateStatus(Function<UpdateStatusRequest.Builder, ObjectBuilder<UpdateStatusRequest>> fn) throws IOException, ElasticsearchExceptionUpdate the connector status.- Parameters:
- fn- a function that initializes a builder to create the- UpdateStatusRequest
- Throws:
- IOException
- ElasticsearchException
- See Also:
 
 
-