Class GeoIpDownloadStatistics.Builder
java.lang.Object
org.opensearch.client.opensearch.ingest.geo_ip_stats.GeoIpDownloadStatistics.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoIpDownloadStatistics>
- Enclosing class:
- GeoIpDownloadStatistics
public static class GeoIpDownloadStatistics.Builder extends java.lang.Object implements ObjectBuilder<GeoIpDownloadStatistics>
Builder for
GeoIpDownloadStatistics.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoIpDownloadStatisticsbuild()Builds aGeoIpDownloadStatistics.GeoIpDownloadStatistics.BuilderdatabaseCount(java.lang.Number value)Current number of databases available for use.GeoIpDownloadStatistics.BuilderfailedDownloads(java.lang.Number value)Total number of failed database downloads.GeoIpDownloadStatistics.BuilderskippedUpdates(java.lang.Number value)Total number of database updates skipped.GeoIpDownloadStatistics.BuildersuccessfulDownloads(java.lang.Number value)Total number of successful database downloads.GeoIpDownloadStatistics.BuildertotalDownloadTime(java.lang.Number value)Total milliseconds spent downloading databases.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
successfulDownloads
Total number of successful database downloads. API name:successful_downloads -
failedDownloads
Total number of failed database downloads. API name:failed_downloads -
totalDownloadTime
Total milliseconds spent downloading databases. API name:total_download_time -
databaseCount
Current number of databases available for use. API name:database_count -
skippedUpdates
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.
-