Class SlowlogSettings
java.lang.Object
co.elastic.clients.elasticsearch.indices.SlowlogSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SlowlogSettings extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlowlogSettings.BuilderBuilder forSlowlogSettings. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SlowlogSettings>_DESERIALIZERJson deserializer forSlowlogSettings -
Method Summary
Modifier and Type Method Description java.lang.Stringlevel()API name:levelstatic SlowlogSettingsof(java.util.function.Function<SlowlogSettings.Builder,ObjectBuilder<SlowlogSettings>> fn)java.lang.Booleanreformat()API name:reformatvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSlowlogSettingsDeserializer(ObjectDeserializer<SlowlogSettings.Builder> op)java.lang.Integersource()API name:sourceSlowlogTresholdsthreshold()API name:thresholdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSlowlogSettings
-
-
Method Details
-
of
public static SlowlogSettings of(java.util.function.Function<SlowlogSettings.Builder,ObjectBuilder<SlowlogSettings>> fn) -
level
@Nullable public final java.lang.String level()API name:level -
source
@Nullable public final java.lang.Integer source()API name:source -
reformat
@Nullable public final java.lang.Boolean reformat()API name:reformat -
threshold
API name:threshold -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSlowlogSettingsDeserializer
protected static void setupSlowlogSettingsDeserializer(ObjectDeserializer<SlowlogSettings.Builder> op)
-