Class IndexingSlowlogThresholds
java.lang.Object
org.opensearch.client.opensearch.indices.IndexingSlowlogThresholds
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexingSlowlogThresholds.Builder,IndexingSlowlogThresholds>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexingSlowlogThresholds
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexingSlowlogThresholds.Builder,IndexingSlowlogThresholds>
The threshold configuration for indexing slow log.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexingSlowlogThresholds> Json deserializer forIndexingSlowlogThresholds -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final SlowlogThresholdLevelsindex()API name:indexstatic IndexingSlowlogThresholdsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupIndexingSlowlogThresholdsDeserializer(ObjectDeserializer<IndexingSlowlogThresholds.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 forIndexingSlowlogThresholds
-
-
Method Details
-
of
public static IndexingSlowlogThresholds of(Function<IndexingSlowlogThresholds.Builder, ObjectBuilder<IndexingSlowlogThresholds>> fn) -
index
API name:index -
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<IndexingSlowlogThresholds.Builder,IndexingSlowlogThresholds> - Returns:
- a new builder instance.
-
builder
-
setupIndexingSlowlogThresholdsDeserializer
protected static void setupIndexingSlowlogThresholdsDeserializer(ObjectDeserializer<IndexingSlowlogThresholds.Builder> op) -
hashCode
public int hashCode() -
equals
-