Package com.exoscale.sdk.model
Class TopNQueriesMonitoringByLatency
java.lang.Object
com.exoscale.sdk.model.TopNQueriesMonitoringByLatency
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class TopNQueriesMonitoringByLatency
extends Object
TopNQueriesMonitoringByLatency
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Top_N_queries_monitoring_by_latency object is equal to o.Enable or disable top N query monitoring by the metricGet topNSize minimum: 1Configure the window size of the top N queries.inthashCode()voidsetEnabled(Boolean enabled) voidsetTopNSize(Integer topNSize) voidsetWindowSize(String windowSize) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.windowSize(String windowSize)
-
Field Details
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_TOP_N_SIZE
- See Also:
-
JSON_PROPERTY_WINDOW_SIZE
- See Also:
-
-
Constructor Details
-
TopNQueriesMonitoringByLatency
public TopNQueriesMonitoringByLatency()
-
-
Method Details
-
enabled
-
getEnabled
Enable or disable top N query monitoring by the metric- Returns:
- enabled
-
setEnabled
-
topNSize
-
getTopNSize
Get topNSize minimum: 1- Returns:
- topNSize
-
setTopNSize
-
windowSize
-
getWindowSize
Configure the window size of the top N queries. The value should be a time value with unit, e.g. 1m, 5s, 1h.- Returns:
- windowSize
-
setWindowSize
-
equals
Return true if this Top_N_queries_monitoring_by_latency object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-