Class GeoIpDownloadStatistics.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoIpDownloadStatistics.Builder>
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpDownloadStatistics.Builder
- All Implemented Interfaces:
WithJson<GeoIpDownloadStatistics.Builder>
,ObjectBuilder<GeoIpDownloadStatistics>
- Enclosing class:
- GeoIpDownloadStatistics
public static class GeoIpDownloadStatistics.Builder
extends WithJsonObjectBuilderBase<GeoIpDownloadStatistics.Builder>
implements ObjectBuilder<GeoIpDownloadStatistics>
Builder for
GeoIpDownloadStatistics
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGeoIpDownloadStatistics
.databaseCount
(int value) Required - Current number of databases available for use.failedDownloads
(int value) Required - Total number of failed database downloads.protected GeoIpDownloadStatistics.Builder
self()
skippedUpdates
(int value) Required - Total number of database updates skipped.successfulDownloads
(int value) Required - Total number of successful database downloads.totalDownloadTime
(int value) Required - Total milliseconds spent downloading databases.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
-
successfulDownloads
Required - Total number of successful database downloads.API name:
successful_downloads
-
failedDownloads
Required - Total number of failed database downloads.API name:
failed_downloads
-
totalDownloadTime
Required - Total milliseconds spent downloading databases.API name:
total_download_time
-
databaseCount
Required - Current number of databases available for use.API name:
database_count
-
skippedUpdates
Required - Total number of database updates skipped.API name:
skipped_updates
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GeoIpDownloadStatistics.Builder>
-
build
Builds aGeoIpDownloadStatistics
.- Specified by:
build
in interfaceObjectBuilder<GeoIpDownloadStatistics>
- Throws:
NullPointerException
- if some of the required fields are null.
-