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 class
Feature.Builder
Builder forFeature
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Feature>
_DESERIALIZER
Json deserializer forFeature
-
Method Summary
Modifier and Type Method Description java.lang.String
description()
Required - API name:description
java.lang.String
name()
Required - API name:name
static Feature
of(java.util.function.Function<Feature.Builder,ObjectBuilder<Feature>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupFeatureDeserializer(ObjectDeserializer<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
-
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFeatureDeserializer
-