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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoIpDownloadStatistics.databasesCount(int value) Required - Current number of databases available for use.expiredDatabases(int value) Required - Total number of databases not updated after 30 daysfailedDownloads(int value) Required - Total number of failed database downloads.protected GeoIpDownloadStatistics.Builderself()skippedUpdates(int value) Required - Total number of database updates skipped.successfulDownloads(int value) Required - Total number of successful database downloads.totalDownloadTime(long value) Required - Total milliseconds spent downloading databases.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
-
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 -
databasesCount
Required - Current number of databases available for use.API name:
databases_count -
skippedUpdates
Required - Total number of database updates skipped.API name:
skipped_updates -
expiredDatabases
Required - Total number of databases not updated after 30 daysAPI name:
expired_databases -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GeoIpDownloadStatistics.Builder>
-
build
Builds aGeoIpDownloadStatistics.- Specified by:
buildin interfaceObjectBuilder<GeoIpDownloadStatistics>- Throws:
NullPointerException- if some of the required fields are null.
-