Class DatabaseConfiguration
java.lang.Object
co.elastic.clients.elasticsearch.ingest.DatabaseConfiguration
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DatabaseConfiguration>Json deserializer forDatabaseConfiguration -
Method Summary
Modifier and TypeMethodDescriptionfinal Maxmindmaxmind()Required - The configuration necessary to identify which IP geolocation provider to use to download the database, as well as any provider-specific configuration necessary for such downloading.final Stringname()Required - The provider-assigned name of the IP geolocation database to download.static DatabaseConfigurationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatabaseConfiguration
-
-
Method Details
-
of
public static DatabaseConfiguration of(Function<DatabaseConfiguration.Builder, ObjectBuilder<DatabaseConfiguration>> fn) -
name
Required - The provider-assigned name of the IP geolocation database to download.API name:
name -
maxmind
Required - The configuration necessary to identify which IP geolocation provider to use to download the database, as well as any provider-specific configuration necessary for such downloading. At present, the only supported provider is maxmind, and the maxmind provider requires that an account_id (string) is configured.API name:
maxmind -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDatabaseConfigurationDeserializer
protected static void setupDatabaseConfigurationDeserializer(ObjectDeserializer<DatabaseConfiguration.Builder> op)
-