Class IndexingSlowlog
java.lang.Object
org.opensearch.client.opensearch.indices.IndexingSlowlog
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexingSlowlog.Builder,IndexingSlowlog>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexingSlowlog
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexingSlowlog.Builder,IndexingSlowlog>
The configuration for indexing slow log.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexingSlowlog> Json deserializer forIndexingSlowlog -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexingSlowlog.Builderbuilder()booleaninthashCode()final Stringlevel()The log level for slow indexing operations.static IndexingSlowlogfinal 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 voidfinal Integersource()API name:sourceAPI name:thresholdCreate 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 forIndexingSlowlog
-
-
Method Details
-
of
public static IndexingSlowlog of(Function<IndexingSlowlog.Builder, ObjectBuilder<IndexingSlowlog>> fn) -
level
The log level for slow indexing operations.API name:
level -
reformat
API name:reformat -
source
API name:source -
threshold
API name:threshold -
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<IndexingSlowlog.Builder,IndexingSlowlog> - Returns:
- a new builder instance.
-
builder
-
setupIndexingSlowlogDeserializer
protected static void setupIndexingSlowlogDeserializer(ObjectDeserializer<IndexingSlowlog.Builder> op) -
hashCode
public int hashCode() -
equals
-