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 class
static enum
DatabaseConfigurationFull
variant 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 theipinfo
variant value.boolean
isIpinfo()
Is this variant instance of kindipinfo
?boolean
isLocal()
Is this variant instance of kindlocal
?boolean
Is this variant instance of kindmaxmind
?boolean
isWeb()
Is this variant instance of kindweb
?local()
Get thelocal
variant value.maxmind()
Get themaxmind
variant value.final String
name()
Required - The provider-assigned name of the IP geolocation database to download.static DatabaseConfigurationFull
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupDatabaseConfigurationFullDeserializer
(ObjectDeserializer<DatabaseConfigurationFull.Builder> op) toString()
web()
Get theweb
variant value.
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnion
Get the of the kind of variant held by this object.- Specified by:
_kind
in interfaceTaggedUnion<DatabaseConfigurationFull.Kind,
Object> - Returns:
- the variant kind
-
_get
- Specified by:
_get
in 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 theweb
variant value.- Throws:
IllegalStateException
- if the current variant is not of theweb
kind.
-
isLocal
public boolean isLocal()Is this variant instance of kindlocal
? -
local
Get thelocal
variant value.- Throws:
IllegalStateException
- if the current variant is not of thelocal
kind.
-
isMaxmind
public boolean isMaxmind()Is this variant instance of kindmaxmind
? -
maxmind
Get themaxmind
variant value.- Throws:
IllegalStateException
- if the current variant is not of themaxmind
kind.
-
isIpinfo
public boolean isIpinfo()Is this variant instance of kindipinfo
? -
ipinfo
Get theipinfo
variant value.- Throws:
IllegalStateException
- if the current variant is not of theipinfo
kind.
-
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-
toString
-
setupDatabaseConfigurationFullDeserializer
protected static void setupDatabaseConfigurationFullDeserializer(ObjectDeserializer<DatabaseConfigurationFull.Builder> op)
-