Class SearchSlowlogThresholds
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.SearchSlowlogThresholds
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SearchSlowlogThresholds extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchSlowlogThresholds.BuilderBuilder forSearchSlowlogThresholds.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SearchSlowlogThresholds>_DESERIALIZERJson deserializer forSearchSlowlogThresholds
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SlowlogThresholdLevelsfetch()API name:fetchstatic SearchSlowlogThresholdsof(java.util.function.Function<SearchSlowlogThresholds.Builder,ObjectBuilder<SearchSlowlogThresholds>> fn)SlowlogThresholdLevelsquery()API name:queryvoidserialize(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<SearchSlowlogThresholds.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SearchSlowlogThresholds> _DESERIALIZER
Json deserializer forSearchSlowlogThresholds
-
-
Method Detail
-
of
public static SearchSlowlogThresholds of(java.util.function.Function<SearchSlowlogThresholds.Builder,ObjectBuilder<SearchSlowlogThresholds>> fn)
-
query
@Nullable public final SlowlogThresholdLevels query()
API name:query
-
fetch
@Nullable public final SlowlogThresholdLevels fetch()
API name:fetch
-
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<SearchSlowlogThresholds.Builder> op)
-
-