public final class PerformanceThreshold
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PerformanceThreshold() |
| Modifier and Type | Method and Description |
|---|---|
PerformanceThreshold |
clone() |
BasicSli |
getBasicSliPerformance()
BasicSli to evaluate to judge window quality.
|
RequestBasedSli |
getPerformance()
RequestBasedSli to evaluate to judge window quality.
|
Double |
getThreshold()
If window performance >= threshold, the window is counted as good.
|
PerformanceThreshold |
set(String fieldName,
Object value) |
PerformanceThreshold |
setBasicSliPerformance(BasicSli basicSliPerformance)
BasicSli to evaluate to judge window quality.
|
PerformanceThreshold |
setPerformance(RequestBasedSli performance)
RequestBasedSli to evaluate to judge window quality.
|
PerformanceThreshold |
setThreshold(Double threshold)
If window performance >= threshold, the window is counted as good.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic BasicSli getBasicSliPerformance()
null for nonepublic PerformanceThreshold setBasicSliPerformance(BasicSli basicSliPerformance)
basicSliPerformance - basicSliPerformance or null for nonepublic RequestBasedSli getPerformance()
null for nonepublic PerformanceThreshold setPerformance(RequestBasedSli performance)
performance - performance or null for nonepublic Double getThreshold()
null for nonepublic PerformanceThreshold setThreshold(Double threshold)
threshold - threshold or null for nonepublic PerformanceThreshold set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PerformanceThreshold clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.