Class GeoIpDownloadStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpDownloadStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GeoIpDownloadStatistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoIpDownloadStatistics.Builder
Builder forGeoIpDownloadStatistics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoIpDownloadStatistics>
_DESERIALIZER
Json deserializer forGeoIpDownloadStatistics
-
Method Summary
Modifier and Type Method Description int
databaseCount()
Required - Current number of databases available for use.int
failedDownloads()
Required - Total number of failed database downloads.static GeoIpDownloadStatistics
of(java.util.function.Function<GeoIpDownloadStatistics.Builder,ObjectBuilder<GeoIpDownloadStatistics>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoIpDownloadStatisticsDeserializer(ObjectDeserializer<GeoIpDownloadStatistics.Builder> op)
int
skippedUpdates()
Required - Total number of database updates skipped.int
successfulDownloads()
Required - Total number of successful database downloads.int
totalDownloadTime()
Required - Total milliseconds spent downloading databases.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpDownloadStatistics
-
-
Method Details
-
of
public static GeoIpDownloadStatistics of(java.util.function.Function<GeoIpDownloadStatistics.Builder,ObjectBuilder<GeoIpDownloadStatistics>> fn) -
successfulDownloads
public final int successfulDownloads()Required - Total number of successful database downloads.API name:
successful_downloads
-
failedDownloads
public final int failedDownloads()Required - Total number of failed database downloads.API name:
failed_downloads
-
totalDownloadTime
public final int totalDownloadTime()Required - Total milliseconds spent downloading databases.API name:
total_download_time
-
databaseCount
public final int databaseCount()Required - Current number of databases available for use.API name:
database_count
-
skippedUpdates
public final int skippedUpdates()Required - Total number of database updates skipped.API name:
skipped_updates
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGeoIpDownloadStatisticsDeserializer
protected static void setupGeoIpDownloadStatisticsDeserializer(ObjectDeserializer<GeoIpDownloadStatistics.Builder> op)
-