Class SlowlogThresholdLevels
java.lang.Object
org.opensearch.client.opensearch.indices.SlowlogThresholdLevels
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SlowlogThresholdLevels.Builder,SlowlogThresholdLevels>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SlowlogThresholdLevels
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SlowlogThresholdLevels.Builder,SlowlogThresholdLevels>
The threshold levels for slow log.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SlowlogThresholdLevels> Json deserializer forSlowlogThresholdLevels -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Timedebug()API name:debugbooleaninthashCode()final Timeinfo()API name:infostatic SlowlogThresholdLevelsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Timetrace()API name:tracefinal Timewarn()API name:warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSlowlogThresholdLevels
-
-
Method Details
-
of
public static SlowlogThresholdLevels of(Function<SlowlogThresholdLevels.Builder, ObjectBuilder<SlowlogThresholdLevels>> fn) -
debug
API name:debug -
info
API name:info -
trace
API name:trace -
warn
API name:warn -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SlowlogThresholdLevels.Builder,SlowlogThresholdLevels> - Returns:
- a new builder instance.
-
builder
-
setupSlowlogThresholdLevelsDeserializer
protected static void setupSlowlogThresholdLevelsDeserializer(ObjectDeserializer<SlowlogThresholdLevels.Builder> op) -
hashCode
public int hashCode() -
equals
-