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