Class GeoIpDownloadStatistics.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpDownloadStatistics.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoIpDownloadStatistics>
- Enclosing class:
- GeoIpDownloadStatistics
public static class GeoIpDownloadStatistics.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoIpDownloadStatistics>
Builder for
GeoIpDownloadStatistics
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoIpDownloadStatistics
build()
Builds aGeoIpDownloadStatistics
.GeoIpDownloadStatistics.Builder
databaseCount(int value)
Required - Current number of databases available for use.GeoIpDownloadStatistics.Builder
failedDownloads(int value)
Required - Total number of failed database downloads.GeoIpDownloadStatistics.Builder
skippedUpdates(int value)
Required - Total number of database updates skipped.GeoIpDownloadStatistics.Builder
successfulDownloads(int value)
Required - Total number of successful database downloads.GeoIpDownloadStatistics.Builder
totalDownloadTime(int value)
Required - Total milliseconds spent downloading databases.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
build
Builds aGeoIpDownloadStatistics
.- Specified by:
build
in interfaceObjectBuilder<GeoIpDownloadStatistics>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-