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 class
Feature.Builder
Builder forFeature
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Feature>
_DESERIALIZER
Json 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 boolean
available()
Required - API name:available
java.lang.String
description()
API name:description
boolean
enabled()
Required - API name:enabled
NativeCodeInformation
nativeCodeInfo()
API name:native_code_info
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(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()Required - API name:available
-
description
@Nullable public java.lang.String description()API name:description
-
enabled
public boolean enabled()Required - API name:enabled
-
nativeCodeInfo
API name:native_code_info
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFeatureDeserializer
-