Class GeoIpNodeDatabases
java.lang.Object
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpNodeDatabases
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GeoIpNodeDatabases extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoIpNodeDatabases.Builder
Builder forGeoIpNodeDatabases
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoIpNodeDatabases>
_DESERIALIZER
Json deserializer forGeoIpNodeDatabases
-
Constructor Summary
Constructors Constructor Description GeoIpNodeDatabases(GeoIpNodeDatabases.Builder builder)
GeoIpNodeDatabases(java.util.function.Function<GeoIpNodeDatabases.Builder,GeoIpNodeDatabases.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<GeoIpNodeDatabaseName>
databases()
Required - Downloaded databases for the node.java.util.List<java.lang.String>
filesInTemp()
Required - Downloaded database files, including related license files.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
setupGeoIpNodeDatabasesDeserializer(DelegatingDeserializer<GeoIpNodeDatabases.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpNodeDatabases
-
-
Constructor Details
-
GeoIpNodeDatabases
-
GeoIpNodeDatabases
public GeoIpNodeDatabases(java.util.function.Function<GeoIpNodeDatabases.Builder,GeoIpNodeDatabases.Builder> fn)
-
-
Method Details
-
databases
Required - Downloaded databases for the node.API name:
databases
-
filesInTemp
public java.util.List<java.lang.String> filesInTemp()Required - Downloaded database files, including related license files. Elasticsearch stores these files in the node’s temporary directory: $ES_TMPDIR/geoip-databases/<node_id>.API name:
files_in_temp
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGeoIpNodeDatabasesDeserializer
protected static void setupGeoIpNodeDatabasesDeserializer(DelegatingDeserializer<GeoIpNodeDatabases.Builder> op)
-