public final class MetricAbsence extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MetricAbsence() |
| Modifier and Type | Method and Description |
|---|---|
MetricAbsence |
clone() |
List<Aggregation> |
getAggregations()
Specifies the alignment of data points in individual time series as well as how to combine the
retrieved time series together (such as when aggregating multiple streams on each resource to a
single stream for each resource or when aggregating streams across all members of a group of
resources).
|
String |
getDuration()
The amount of time that a time series must fail to report new data to be considered failing.
|
String |
getFilter()
Required.
|
Trigger |
getTrigger()
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
MetricAbsence |
set(String fieldName,
Object value) |
MetricAbsence |
setAggregations(List<Aggregation> aggregations)
Specifies the alignment of data points in individual time series as well as how to combine the
retrieved time series together (such as when aggregating multiple streams on each resource to a
single stream for each resource or when aggregating streams across all members of a group of
resources).
|
MetricAbsence |
setDuration(String duration)
The amount of time that a time series must fail to report new data to be considered failing.
|
MetricAbsence |
setFilter(String filter)
Required.
|
MetricAbsence |
setTrigger(Trigger trigger)
The number/percent of time series for which the comparison must hold in order for the condition
to trigger.
|
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 List<Aggregation> getAggregations()
null for nonepublic MetricAbsence setAggregations(List<Aggregation> aggregations)
aggregations - aggregations or null for nonepublic String getDuration()
null for nonepublic MetricAbsence setDuration(String duration)
duration - duration or null for nonepublic String getFilter()
null for nonepublic MetricAbsence setFilter(String filter)
filter - filter or null for nonepublic Trigger getTrigger()
null for nonepublic MetricAbsence setTrigger(Trigger trigger)
trigger - trigger or null for nonepublic MetricAbsence set(String fieldName, Object value)
set in class GenericJsonpublic MetricAbsence clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.