Package com.datadog.api.client.v1.model
Class SLOHistorySLIData
java.lang.Object
com.datadog.api.client.v1.model.SLOHistorySLIData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOHistorySLIData
extends Object
An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI
value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a
group in grouped SLOs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddErrorsItem(SLOHistoryResponseErrorWithType errorsItem) addHistoryItem(List<Double> historyItem) booleanReturn true if this SLOHistorySLIData object is equal to o.errorBudgetRemaining(Map<String, Double> errorBudgetRemaining) errors(List<SLOHistoryResponseErrorWithType> errors) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A mapping of thresholdtimeframeto the remaining error budget.An array of error objects returned while querying the history data for the service level objective.getGroup()For groups in a grouped SLO, this is the group name.The state transition history formonitorortime-sliceSLOs.Formonitorbased SLOs, this is the last modified timestamp in epoch seconds of the monitor.Formonitorbased SLOs, this describes the type of monitor.getName()For groups in a grouped SLO, this is the group name.A mapping of thresholdtimeframeto number of accurate decimals, regardless of the from && to timestamp.Formonitorbased SLOs, whentruethis indicates that a replay is in progress to give an accurate uptime calculation.The current SLI value of the SLO over the history window.org.openapitools.jackson.nullable.JsonNullable<Double>The amount of decimal places the SLI value is accurate to for the given from&&to timestamp.Deprecated.org.openapitools.jackson.nullable.JsonNullable<Double>Deprecated.inthashCode()monitorModified(Long monitorModified) monitorType(String monitorType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putErrorBudgetRemainingItem(String key, Double errorBudgetRemainingItem) putPrecisionItem(String key, Double precisionItem) voidsetErrorBudgetRemaining(Map<String, Double> errorBudgetRemaining) voidsetErrors(List<SLOHistoryResponseErrorWithType> errors) voidvoidsetHistory(List<List<Double>> history) voidsetMonitorModified(Long monitorModified) voidsetMonitorType(String monitorType) voidvoidsetPrecision(Map<String, Double> precision) voidsetPreview(Boolean preview) voidsetSliValue(Double sliValue) voidsetSliValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sliValue) voidsetSpanPrecision(Double spanPrecision) voidvoidsetUptime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> uptime) spanPrecision(Double spanPrecision) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERROR_BUDGET_REMAINING
- See Also:
-
JSON_PROPERTY_ERRORS
- See Also:
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_HISTORY
- See Also:
-
JSON_PROPERTY_MONITOR_MODIFIED
- See Also:
-
JSON_PROPERTY_MONITOR_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRECISION
- See Also:
-
JSON_PROPERTY_PREVIEW
- See Also:
-
JSON_PROPERTY_SLI_VALUE
- See Also:
-
JSON_PROPERTY_SPAN_PRECISION
- See Also:
-
JSON_PROPERTY_UPTIME
- See Also:
-
-
Constructor Details
-
SLOHistorySLIData
public SLOHistorySLIData()
-
-
Method Details
-
errorBudgetRemaining
-
putErrorBudgetRemainingItem
-
getErrorBudgetRemaining
A mapping of thresholdtimeframeto the remaining error budget.- Returns:
- errorBudgetRemaining
-
setErrorBudgetRemaining
-
errors
-
addErrorsItem
-
getErrors
An array of error objects returned while querying the history data for the service level objective.- Returns:
- errors
-
setErrors
-
group
-
getGroup
For groups in a grouped SLO, this is the group name.- Returns:
- group
-
setGroup
-
history
-
addHistoryItem
-
getHistory
The state transition history formonitorortime-sliceSLOs. It is represented as an array of pairs. Each pair is an array containing the timestamp of the transition as an integer in Unix epoch format in the first element, and the state as an integer in the second element. An integer value of0for state means uptime,1means downtime, and2means no data. Periods of no data count as uptime in time-slice SLOs, while for monitor SLOs, no data is counted either as uptime or downtime depending on monitor settings. See SLO documentation for detailed information.- Returns:
- history
-
setHistory
-
monitorModified
-
getMonitorModified
Formonitorbased SLOs, this is the last modified timestamp in epoch seconds of the monitor.- Returns:
- monitorModified
-
setMonitorModified
-
monitorType
-
getMonitorType
Formonitorbased SLOs, this describes the type of monitor.- Returns:
- monitorType
-
setMonitorType
-
name
-
getName
For groups in a grouped SLO, this is the group name. For monitors in a multi-monitor SLO, this is the monitor name.- Returns:
- name
-
setName
-
precision
-
putPrecisionItem
-
getPrecision
A mapping of thresholdtimeframeto number of accurate decimals, regardless of the from && to timestamp.- Returns:
- precision
-
setPrecision
-
preview
-
getPreview
Formonitorbased SLOs, whentruethis indicates that a replay is in progress to give an accurate uptime calculation.- Returns:
- preview
-
setPreview
-
sliValue
-
getSliValue
The current SLI value of the SLO over the history window.- Returns:
- sliValue
-
getSliValue_JsonNullable
-
setSliValue_JsonNullable
public void setSliValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sliValue) -
setSliValue
-
spanPrecision
-
getSpanPrecision
The amount of decimal places the SLI value is accurate to for the given from&&to timestamp.- Returns:
- spanPrecision
-
setSpanPrecision
-
uptime
-
getUptime
Deprecated.Usesli_valueinstead.- Returns:
- uptime
-
getUptime_JsonNullable
Deprecated. -
setUptime_JsonNullable
-
setUptime
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SLOHistorySLIData
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SLOHistorySLIData object is equal to o. -
hashCode
public int hashCode() -
toString
-