public final class ServiceLevelObjective
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 |
|---|
ServiceLevelObjective() |
| Modifier and Type | Method and Description |
|---|---|
ServiceLevelObjective |
clone() |
String |
getCalendarPeriod()
A calendar period, semantically "since the start of the current ".
|
String |
getDisplayName()
Name used for UI elements listing this SLO.
|
Double |
getGoal()
The fraction of service that must be good in order for this objective to be met.
|
String |
getName()
Identifier.
|
String |
getRollingPeriod()
A rolling time period, semantically "in the past ".
|
ServiceLevelIndicator |
getServiceLevelIndicator()
The definition of good service, used to measure and calculate the quality of the Service's
performance with respect to a single aspect of service quality.
|
Map<String,String> |
getUserLabels()
Labels which have been used to annotate the service-level objective.
|
ServiceLevelObjective |
set(String fieldName,
Object value) |
ServiceLevelObjective |
setCalendarPeriod(String calendarPeriod)
A calendar period, semantically "since the start of the current ".
|
ServiceLevelObjective |
setDisplayName(String displayName)
Name used for UI elements listing this SLO.
|
ServiceLevelObjective |
setGoal(Double goal)
The fraction of service that must be good in order for this objective to be met.
|
ServiceLevelObjective |
setName(String name)
Identifier.
|
ServiceLevelObjective |
setRollingPeriod(String rollingPeriod)
A rolling time period, semantically "in the past ".
|
ServiceLevelObjective |
setServiceLevelIndicator(ServiceLevelIndicator serviceLevelIndicator)
The definition of good service, used to measure and calculate the quality of the Service's
performance with respect to a single aspect of service quality.
|
ServiceLevelObjective |
setUserLabels(Map<String,String> userLabels)
Labels which have been used to annotate the service-level objective.
|
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 String getCalendarPeriod()
null for nonepublic ServiceLevelObjective setCalendarPeriod(String calendarPeriod)
calendarPeriod - calendarPeriod or null for nonepublic String getDisplayName()
null for nonepublic ServiceLevelObjective setDisplayName(String displayName)
displayName - displayName or null for nonepublic Double getGoal()
null for nonepublic ServiceLevelObjective setGoal(Double goal)
goal - goal or null for nonepublic String getName()
null for nonepublic ServiceLevelObjective setName(String name)
name - name or null for nonepublic String getRollingPeriod()
null for nonepublic ServiceLevelObjective setRollingPeriod(String rollingPeriod)
rollingPeriod - rollingPeriod or null for nonepublic ServiceLevelIndicator getServiceLevelIndicator()
null for nonepublic ServiceLevelObjective setServiceLevelIndicator(ServiceLevelIndicator serviceLevelIndicator)
serviceLevelIndicator - serviceLevelIndicator or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic ServiceLevelObjective setUserLabels(Map<String,String> userLabels)
userLabels - userLabels or null for nonepublic ServiceLevelObjective set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ServiceLevelObjective clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.