Class GeoIpNodeDatabases
java.lang.Object
co.elastic.clients.elasticsearch.ingest.geo_ip_stats.GeoIpNodeDatabases
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GeoIpNodeDatabases extends java.lang.Object implements JsonpSerializable
Downloaded databases for the node. The field key is the node ID.
- See Also:
- API specification
-
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
-
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.static GeoIpNodeDatabases
of(java.util.function.Function<GeoIpNodeDatabases.Builder,ObjectBuilder<GeoIpNodeDatabases>> 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
setupGeoIpNodeDatabasesDeserializer(ObjectDeserializer<GeoIpNodeDatabases.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoIpNodeDatabases
-
-
Method Details
-
of
public static GeoIpNodeDatabases of(java.util.function.Function<GeoIpNodeDatabases.Builder,ObjectBuilder<GeoIpNodeDatabases>> fn) -
databases
Required - Downloaded databases for the node.API name:
databases
-
filesInTemp
public final 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
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupGeoIpNodeDatabasesDeserializer
protected static void setupGeoIpNodeDatabasesDeserializer(ObjectDeserializer<GeoIpNodeDatabases.Builder> op)
-