Class GeoIpStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ingest.GeoIpStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GeoIpStatsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,GeoIpNodeDatabases>
nodes()
Required - Downloaded GeoIP2 databases for each node.static GeoIpStatsResponse
of(java.util.function.Function<GeoIpStatsResponse.Builder,ObjectBuilder<GeoIpStatsResponse>> 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
setupGeoIpStatsResponseDeserializer(ObjectDeserializer<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
-
-
Method Details
-
of
public static GeoIpStatsResponse of(java.util.function.Function<GeoIpStatsResponse.Builder,ObjectBuilder<GeoIpStatsResponse>> fn) -
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(ObjectDeserializer<GeoIpStatsResponse.Builder> op)
-