Class Feature
java.lang.Object
co.elastic.clients.elasticsearch.features.Feature
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Feature extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeature.BuilderBuilder forFeature. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Feature>_DESERIALIZERJson deserializer forFeature -
Constructor Summary
Constructors Constructor Description Feature(Feature.Builder builder)Feature(java.util.function.Function<Feature.Builder,Feature.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringdescription()Required - API name:descriptionjava.lang.Stringname()Required - API name:namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFeatureDeserializer(DelegatingDeserializer<Feature.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFeature
-
-
Constructor Details
-
Feature
-
Feature
-
-
Method Details
-
name
public java.lang.String name()Required - API name:name -
description
public java.lang.String description()Required - API name:description -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFeatureDeserializer
-