Class GeoIpDownloadStatistics.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.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 forGeoIpDownloadStatistics.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
successfulDownloads
public final GeoIpDownloadStatistics.Builder successfulDownloads(int value)
Required - Total number of successful database downloads.API name:
successful_downloads
-
failedDownloads
public final GeoIpDownloadStatistics.Builder failedDownloads(int value)
Required - Total number of failed database downloads.API name:
failed_downloads
-
totalDownloadTime
public final GeoIpDownloadStatistics.Builder totalDownloadTime(int value)
Required - Total milliseconds spent downloading databases.API name:
total_download_time
-
databaseCount
public final GeoIpDownloadStatistics.Builder databaseCount(int value)
Required - Current number of databases available for use.API name:
database_count
-
skippedUpdates
public final GeoIpDownloadStatistics.Builder skippedUpdates(int value)
Required - Total number of database updates skipped.API name:
skipped_updates
-
build
public GeoIpDownloadStatistics build()
Builds aGeoIpDownloadStatistics.- Specified by:
buildin interfaceObjectBuilder<GeoIpDownloadStatistics>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-