Class CharFilter
java.lang.Object
org.opensearch.client.opensearch._types.analysis.CharFilter
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TaggedUnion<CharFilter.Kind,Object>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CharFilter
extends Object
implements TaggedUnion<CharFilter.Kind,Object>, PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final CharFilter.Kind_kind()Get the of the kind of variant held by this object.static CharFilter.Builderbuilder()Get thedefinitionvariant value.booleaninthashCode()booleanIs this variant instance of kinddefinition?booleanisName()Is this variant instance of kindname?name()Get thenamevariant value.static CharFiltervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
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<CharFilter.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<CharFilter.Kind,Object>
-
of
-
isDefinition
public boolean isDefinition()Is this variant instance of kinddefinition? -
definition
Get thedefinitionvariant value.- Throws:
IllegalStateException- if the current variant is not thedefinitionkind.
-
isName
public boolean isName()Is this variant instance of kindname? -
name
Get thenamevariant value.- Throws:
IllegalStateException- if the current variant is not thenamekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
-
builder
-
hashCode
public int hashCode() -
equals
-