Class Feature
java.lang.Object
co.elastic.clients.elasticsearch.xpack.info.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 booleanavailable()Required - API name:availablejava.lang.Stringdescription()API name:descriptionbooleanenabled()Required - API name:enabledNativeCodeInformationnativeCodeInfo()API name:native_code_infostatic 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)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
-
available
public final boolean available()Required - API name:available -
description
@Nullable public final java.lang.String description()API name:description -
enabled
public final boolean enabled()Required - API name:enabled -
nativeCodeInfo
API name:native_code_info -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFeatureDeserializer
-