Class Feature
- java.lang.Object
-
- org.opensearch.client.opensearch.features.Feature
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<Feature> _DESERIALIZER
Json deserializer forFeature
-
-
Method Detail
-
of
public static Feature of(java.util.function.Function<Feature.Builder,ObjectBuilder<Feature>> fn)
-
name
public final java.lang.String name()
Required - API name:name
-
description
public final java.lang.String description()
Required - API name:description
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupFeatureDeserializer
protected static void setupFeatureDeserializer(ObjectDeserializer<Feature.Builder> op)
-
-