public final class Condition
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 Stackdriver 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.Flags| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
clone() |
MetricAbsence |
getConditionAbsent()
A condition that checks that a time series continues to receive new data points.
|
MetricThreshold |
getConditionThreshold()
A condition that compares a time series against a threshold.
|
java.lang.String |
getDisplayName()
A short name or phrase used to identify the condition in dashboards, notifications, and
incidents.
|
java.lang.String |
getName()
Required if the condition exists.
|
Condition |
set(java.lang.String fieldName,
java.lang.Object value) |
Condition |
setConditionAbsent(MetricAbsence conditionAbsent)
A condition that checks that a time series continues to receive new data points.
|
Condition |
setConditionThreshold(MetricThreshold conditionThreshold)
A condition that compares a time series against a threshold.
|
Condition |
setDisplayName(java.lang.String displayName)
A short name or phrase used to identify the condition in dashboards, notifications, and
incidents.
|
Condition |
setName(java.lang.String name)
Required if the condition exists.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic MetricAbsence getConditionAbsent()
null for nonepublic Condition setConditionAbsent(MetricAbsence conditionAbsent)
conditionAbsent - conditionAbsent or null for nonepublic MetricThreshold getConditionThreshold()
null for nonepublic Condition setConditionThreshold(MetricThreshold conditionThreshold)
conditionThreshold - conditionThreshold or null for nonepublic java.lang.String getDisplayName()
null for nonepublic Condition setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic java.lang.String getName()
null for nonepublic Condition setName(java.lang.String name)
name - name or null for nonepublic Condition set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Condition clone()
clone in class com.google.api.client.json.GenericJson