Class SyncJobUpdateStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SyncJobUpdateStatsRequest.Builder>
co.elastic.clients.elasticsearch.connector.SyncJobUpdateStatsRequest.Builder
- All Implemented Interfaces:
WithJson<SyncJobUpdateStatsRequest.Builder>,ObjectBuilder<SyncJobUpdateStatsRequest>
- Enclosing class:
- SyncJobUpdateStatsRequest
public static class SyncJobUpdateStatsRequest.Builder
extends RequestBase.AbstractBuilder<SyncJobUpdateStatsRequest.Builder>
implements ObjectBuilder<SyncJobUpdateStatsRequest>
Builder for
SyncJobUpdateStatsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSyncJobUpdateStatsRequest.connectorSyncJobId(String value) Required - The unique identifier of the connector sync job.deletedDocumentCount(long value) Required - The number of documents the sync job deleted.indexedDocumentCount(long value) Required - The number of documents the sync job indexed.indexedDocumentVolume(long value) Required - The total size of the data (in MiB) the sync job indexed.The timestamp to use in thelast_seenproperty for the connector sync job.The timestamp to use in thelast_seenproperty for the connector sync job.The connector-specific metadata.The connector-specific metadata.protected SyncJobUpdateStatsRequest.Builderself()totalDocumentCount(Integer value) The total number of documents in the target index after the sync job finished.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorSyncJobId
Required - The unique identifier of the connector sync job.API name:
connector_sync_job_id -
deletedDocumentCount
Required - The number of documents the sync job deleted.API name:
deleted_document_count -
indexedDocumentCount
Required - The number of documents the sync job indexed.API name:
indexed_document_count -
indexedDocumentVolume
Required - The total size of the data (in MiB) the sync job indexed.API name:
indexed_document_volume -
lastSeen
The timestamp to use in thelast_seenproperty for the connector sync job.API name:
last_seen -
lastSeen
public final SyncJobUpdateStatsRequest.Builder lastSeen(Function<Time.Builder, ObjectBuilder<Time>> fn) The timestamp to use in thelast_seenproperty for the connector sync job.API name:
last_seen -
metadata
The connector-specific metadata.API name:
metadataAdds all entries of
maptometadata. -
metadata
The connector-specific metadata.API name:
metadataAdds an entry to
metadata. -
totalDocumentCount
The total number of documents in the target index after the sync job finished.API name:
total_document_count -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SyncJobUpdateStatsRequest.Builder>
-
build
Builds aSyncJobUpdateStatsRequest.- Specified by:
buildin interfaceObjectBuilder<SyncJobUpdateStatsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-