Class DatabaseConfigurationFull
java.lang.Object
co.elastic.clients.elasticsearch.ingest.DatabaseConfigurationFull
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<DatabaseConfigurationFull.Kind,Object>
@JsonpDeserializable
public class DatabaseConfigurationFull
extends Object
implements TaggedUnion<DatabaseConfigurationFull.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDatabaseConfigurationFullvariant kinds. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()_kind()Get the of the kind of variant held by this object.ipinfo()Get theipinfovariant value.booleanisIpinfo()Is this variant instance of kindipinfo?booleanisLocal()Is this variant instance of kindlocal?booleanIs this variant instance of kindmaxmind?booleanisWeb()Is this variant instance of kindweb?local()Get thelocalvariant value.maxmind()Get themaxmindvariant value.final Stringname()Required - The provider-assigned name of the IP geolocation database to download.static DatabaseConfigurationFullvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupDatabaseConfigurationFullDeserializer(ObjectDeserializer<DatabaseConfigurationFull.Builder> op) toString()web()Get thewebvariant value.
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<DatabaseConfigurationFull.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<DatabaseConfigurationFull.Kind,Object>
-
of
public static DatabaseConfigurationFull of(Function<DatabaseConfigurationFull.Builder, ObjectBuilder<DatabaseConfigurationFull>> fn) -
name
Required - The provider-assigned name of the IP geolocation database to download.API name:
name -
isWeb
public boolean isWeb()Is this variant instance of kindweb? -
web
Get thewebvariant value.- Throws:
IllegalStateException- if the current variant is not of thewebkind.
-
isLocal
public boolean isLocal()Is this variant instance of kindlocal? -
local
Get thelocalvariant value.- Throws:
IllegalStateException- if the current variant is not of thelocalkind.
-
isMaxmind
public boolean isMaxmind()Is this variant instance of kindmaxmind? -
maxmind
Get themaxmindvariant value.- Throws:
IllegalStateException- if the current variant is not of themaxmindkind.
-
isIpinfo
public boolean isIpinfo()Is this variant instance of kindipinfo? -
ipinfo
Get theipinfovariant value.- Throws:
IllegalStateException- if the current variant is not of theipinfokind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupDatabaseConfigurationFullDeserializer
protected static void setupDatabaseConfigurationFullDeserializer(ObjectDeserializer<DatabaseConfigurationFull.Builder> op)
-