Class IndexingSlowlogThresholds
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.IndexingSlowlogThresholds
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexingSlowlogThresholds extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexingSlowlogThresholds.BuilderBuilder forIndexingSlowlogThresholds.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexingSlowlogThresholds>_DESERIALIZERJson deserializer forIndexingSlowlogThresholds
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SlowlogThresholdLevelsindex()The indexing slow log, similar in functionality to the search slow log.static IndexingSlowlogThresholdsof(java.util.function.Function<IndexingSlowlogThresholds.Builder,ObjectBuilder<IndexingSlowlogThresholds>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexingSlowlogTresholdsDeserializer(ObjectDeserializer<IndexingSlowlogThresholds.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexingSlowlogThresholds> _DESERIALIZER
Json deserializer forIndexingSlowlogThresholds
-
-
Method Detail
-
of
public static IndexingSlowlogThresholds of(java.util.function.Function<IndexingSlowlogThresholds.Builder,ObjectBuilder<IndexingSlowlogThresholds>> fn)
-
index
@Nullable public final SlowlogThresholdLevels index()
The indexing slow log, similar in functionality to the search slow log. The log file name ends with_index_indexing_slowlog.json. Log and the thresholds are configured in the same way as the search slowlog.API name:
index
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexingSlowlogTresholdsDeserializer
protected static void setupIndexingSlowlogTresholdsDeserializer(ObjectDeserializer<IndexingSlowlogThresholds.Builder> op)
-
-