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 GeoIpDownloadStatisticsbuild()Builds aGeoIpDownloadStatistics.GeoIpDownloadStatistics.BuilderdatabaseCount(int value)Required - Current number of databases available for use.GeoIpDownloadStatistics.BuilderfailedDownloads(int value)Required - Total number of failed database downloads.GeoIpDownloadStatistics.BuilderskippedUpdates(int value)Required - Total number of database updates skipped.GeoIpDownloadStatistics.BuildersuccessfulDownloads(int value)Required - Total number of successful database downloads.GeoIpDownloadStatistics.BuildertotalDownloadTime(int value)Required - Total milliseconds spent downloading databases.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
buildin interfaceObjectBuilder<GeoIpDownloadStatistics>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-