Class Feature
java.lang.Object
co.elastic.clients.elasticsearch.features.Feature
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Feature extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.lang.Stringdescription()Required - API name:descriptionjava.lang.Stringname()Required - API name:namestatic Featureof(java.util.function.Function<Feature.Builder,ObjectBuilder<Feature>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFeatureDeserializer(ObjectDeserializer<Feature.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFeature
-
-
Method Details
-
of
-
name
public final java.lang.String name()Required - API name:name -
description
public final java.lang.String description()Required - API name:description -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupFeatureDeserializer
-