Class GeoIpStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ingest.GeoIpStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GeoIpStatsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoIpStatsResponse.Builder
Builder forGeoIpStatsResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoIpStatsResponse>
_DESERIALIZER
Json deserializer forGeoIpStatsResponse
-
Constructor Summary
Constructors Constructor Description GeoIpStatsResponse(GeoIpStatsResponse.Builder builder)
GeoIpStatsResponse(java.util.function.Function<GeoIpStatsResponse.Builder,GeoIpStatsResponse.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,GeoIpNodeDatabases>
nodes()
Required - Downloaded GeoIP2 databases for each node.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
setupGeoIpStatsResponseDeserializer(DelegatingDeserializer<GeoIpStatsResponse.Builder> op)
GeoIpDownloadStatistics
stats()
Required - Download statistics for all GeoIP2 databases.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpStatsResponse
-
-
Constructor Details
-
GeoIpStatsResponse
-
GeoIpStatsResponse
public GeoIpStatsResponse(java.util.function.Function<GeoIpStatsResponse.Builder,GeoIpStatsResponse.Builder> fn)
-
-
Method Details
-
stats
Required - Download statistics for all GeoIP2 databases.API name:
stats
-
nodes
Required - Downloaded GeoIP2 databases for each node.API name:
nodes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGeoIpStatsResponseDeserializer
protected static void setupGeoIpStatsResponseDeserializer(DelegatingDeserializer<GeoIpStatsResponse.Builder> op)
-