Class Normalizer
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.Normalizer
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<JsonpSerializable>
@JsonpDeserializable public class Normalizer extends java.lang.Object implements TaggedUnion<JsonpSerializable>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNormalizer.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Normalizer>_DESERIALIZERstatic java.lang.StringCUSTOMstatic java.lang.StringLOWERCASE -
Constructor Summary
Constructors Constructor Description Normalizer(NormalizerVariant value)Normalizer(ObjectBuilder<T> builder)Normalizer(java.util.function.Function<Normalizer.Builder,Normalizer.Builder> fn) -
Method Summary
Modifier and Type Method Description JsonpSerializable_get()java.lang.String_type()Get the of the type of the variant held by this union object.CustomNormalizercustom()Get thecustomvariant value.LowercaseNormalizerlowercase()Get thelowercasevariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNormalizerDeserializer(DelegatingDeserializer<Normalizer.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
CUSTOM
public static final java.lang.String CUSTOM- See Also:
- Constant Field Values
-
LOWERCASE
public static final java.lang.String LOWERCASE- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
Normalizer
-
Normalizer
-
Normalizer
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<JsonpSerializable>- Returns:
- the variant type
-
_get
- Specified by:
_getin interfaceTaggedUnion<JsonpSerializable>
-
custom
Get thecustomvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecustomkind.
-
lowercase
Get thelowercasevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thelowercasekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupNormalizerDeserializer
-