@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOHistorySLIData extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_ERROR_BUDGET_REMAINING |
static String |
JSON_PROPERTY_ERRORS |
static String |
JSON_PROPERTY_GROUP |
static String |
JSON_PROPERTY_HISTORY |
static String |
JSON_PROPERTY_MONITOR_MODIFIED |
static String |
JSON_PROPERTY_MONITOR_TYPE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PRECISION |
static String |
JSON_PROPERTY_PREVIEW |
static String |
JSON_PROPERTY_SLI_VALUE |
static String |
JSON_PROPERTY_SPAN_PRECISION |
static String |
JSON_PROPERTY_UPTIME |
boolean |
unparsed |
Constructor and Description |
---|
SLOHistorySLIData() |
Modifier and Type | Method and Description |
---|---|
SLOHistorySLIData |
addErrorsItem(SLOHistoryResponseErrorWithType errorsItem) |
SLOHistorySLIData |
addHistoryItem(List<Double> historyItem) |
boolean |
equals(Object o)
Return true if this SLOHistorySLIData object is equal to o.
|
SLOHistorySLIData |
errorBudgetRemaining(Map<String,Double> errorBudgetRemaining) |
SLOHistorySLIData |
errors(List<SLOHistoryResponseErrorWithType> errors) |
Map<String,Double> |
getErrorBudgetRemaining()
A mapping of threshold
timeframe to the remaining error budget. |
List<SLOHistoryResponseErrorWithType> |
getErrors()
An array of error objects returned while querying the history data for the service level
objective.
|
String |
getGroup()
For groups in a grouped SLO, this is the group name.
|
List<List<Double>> |
getHistory()
For
monitor based SLOs, this includes the aggregated history as arrays that
include time series and uptime data where 0=monitor is in OK state
and 1=monitor is in alert state. |
Long |
getMonitorModified()
For
monitor based SLOs, this is the last modified timestamp in epoch seconds of
the monitor. |
String |
getMonitorType()
For
monitor based SLOs, this describes the type of monitor. |
String |
getName()
For groups in a grouped SLO, this is the group name.
|
Map<String,Double> |
getPrecision()
A mapping of threshold
timeframe to number of accurate decimals, regardless of the
from && to timestamp. |
Boolean |
getPreview()
For
monitor based SLOs, when true this indicates that a replay is in
progress to give an accurate uptime calculation. |
Double |
getSliValue()
The current SLI value of the SLO over the history window.
|
Double |
getSpanPrecision()
The amount of decimal places the SLI value is accurate to for the given from
&&
to timestamp. |
Double |
getUptime()
Deprecated.
|
SLOHistorySLIData |
group(String group) |
int |
hashCode() |
SLOHistorySLIData |
history(List<List<Double>> history) |
SLOHistorySLIData |
monitorModified(Long monitorModified) |
SLOHistorySLIData |
monitorType(String monitorType) |
SLOHistorySLIData |
name(String name) |
SLOHistorySLIData |
precision(Map<String,Double> precision) |
SLOHistorySLIData |
preview(Boolean preview) |
SLOHistorySLIData |
putErrorBudgetRemainingItem(String key,
Double errorBudgetRemainingItem) |
SLOHistorySLIData |
putPrecisionItem(String key,
Double precisionItem) |
void |
setErrorBudgetRemaining(Map<String,Double> errorBudgetRemaining) |
void |
setErrors(List<SLOHistoryResponseErrorWithType> errors) |
void |
setGroup(String group) |
void |
setHistory(List<List<Double>> history) |
void |
setMonitorModified(Long monitorModified) |
void |
setMonitorType(String monitorType) |
void |
setName(String name) |
void |
setPrecision(Map<String,Double> precision) |
void |
setPreview(Boolean preview) |
void |
setSliValue(Double sliValue) |
void |
setSpanPrecision(Double spanPrecision) |
void |
setUptime(Double uptime) |
SLOHistorySLIData |
sliValue(Double sliValue) |
SLOHistorySLIData |
spanPrecision(Double spanPrecision) |
String |
toString() |
SLOHistorySLIData |
uptime(Double uptime) |
public boolean unparsed
public static final String JSON_PROPERTY_ERROR_BUDGET_REMAINING
public static final String JSON_PROPERTY_ERRORS
public static final String JSON_PROPERTY_GROUP
public static final String JSON_PROPERTY_HISTORY
public static final String JSON_PROPERTY_MONITOR_MODIFIED
public static final String JSON_PROPERTY_MONITOR_TYPE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PRECISION
public static final String JSON_PROPERTY_PREVIEW
public static final String JSON_PROPERTY_SLI_VALUE
public static final String JSON_PROPERTY_SPAN_PRECISION
public static final String JSON_PROPERTY_UPTIME
public SLOHistorySLIData errorBudgetRemaining(Map<String,Double> errorBudgetRemaining)
public SLOHistorySLIData putErrorBudgetRemainingItem(String key, Double errorBudgetRemainingItem)
@Nullable public Map<String,Double> getErrorBudgetRemaining()
timeframe
to the remaining error budget.public void setErrorBudgetRemaining(Map<String,Double> errorBudgetRemaining)
public SLOHistorySLIData errors(List<SLOHistoryResponseErrorWithType> errors)
public SLOHistorySLIData addErrorsItem(SLOHistoryResponseErrorWithType errorsItem)
@Nullable public List<SLOHistoryResponseErrorWithType> getErrors()
public void setErrors(List<SLOHistoryResponseErrorWithType> errors)
public SLOHistorySLIData group(String group)
@Nullable public String getGroup()
public void setGroup(String group)
public SLOHistorySLIData history(List<List<Double>> history)
public SLOHistorySLIData addHistoryItem(List<Double> historyItem)
@Nullable public List<List<Double>> getHistory()
monitor
based SLOs, this includes the aggregated history as arrays that
include time series and uptime data where 0=monitor
is in OK
state
and 1=monitor
is in alert
state.public SLOHistorySLIData monitorModified(Long monitorModified)
@Nullable public Long getMonitorModified()
monitor
based SLOs, this is the last modified timestamp in epoch seconds of
the monitor.public void setMonitorModified(Long monitorModified)
public SLOHistorySLIData monitorType(String monitorType)
@Nullable public String getMonitorType()
monitor
based SLOs, this describes the type of monitor.public void setMonitorType(String monitorType)
public SLOHistorySLIData name(String name)
@Nullable public String getName()
public void setName(String name)
public SLOHistorySLIData precision(Map<String,Double> precision)
public SLOHistorySLIData putPrecisionItem(String key, Double precisionItem)
@Nullable public Map<String,Double> getPrecision()
timeframe
to number of accurate decimals, regardless of the
from && to timestamp.public SLOHistorySLIData preview(Boolean preview)
@Nullable public Boolean getPreview()
monitor
based SLOs, when true
this indicates that a replay is in
progress to give an accurate uptime calculation.public void setPreview(Boolean preview)
public SLOHistorySLIData sliValue(Double sliValue)
@Nullable public Double getSliValue()
public void setSliValue(Double sliValue)
public SLOHistorySLIData spanPrecision(Double spanPrecision)
@Nullable public Double getSpanPrecision()
&&
to timestamp.public void setSpanPrecision(Double spanPrecision)
public SLOHistorySLIData uptime(Double uptime)
@Deprecated @Nullable public Double getUptime()
sli_value
instead.public void setUptime(Double uptime)
public boolean equals(Object o)
Copyright © 2022. All rights reserved.