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
  • Field Details

  • Method Details

    • of

      public static GeoIpNodeDatabases of​(java.util.function.Function<GeoIpNodeDatabases.Builder,​ObjectBuilder<GeoIpNodeDatabases>> fn)
    • databases

      public final java.util.List<GeoIpNodeDatabaseName> 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupGeoIpNodeDatabasesDeserializer

      protected static void setupGeoIpNodeDatabasesDeserializer​(ObjectDeserializer<GeoIpNodeDatabases.Builder> op)