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 class
SlowlogSettings.Builder
Builder forSlowlogSettings
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SlowlogSettings>
_DESERIALIZER
Json deserializer forSlowlogSettings
-
Method Summary
Modifier and Type Method Description java.lang.String
level()
API name:level
static SlowlogSettings
of(java.util.function.Function<SlowlogSettings.Builder,ObjectBuilder<SlowlogSettings>> fn)
java.lang.Boolean
reformat()
API name:reformat
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
setupSlowlogSettingsDeserializer(ObjectDeserializer<SlowlogSettings.Builder> op)
java.lang.Integer
source()
API name:source
SlowlogTresholds
threshold()
API name:threshold
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupSlowlogSettingsDeserializer
protected static void setupSlowlogSettingsDeserializer(ObjectDeserializer<SlowlogSettings.Builder> op)
-