@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,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
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()
The state transition history for
monitor or time-slice SLOs. |
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. |
org.openapitools.jackson.nullable.JsonNullable<Double> |
getSliValue_JsonNullable() |
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. |
org.openapitools.jackson.nullable.JsonNullable<Double> |
getUptime_JsonNullable()
Deprecated.
|
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 |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
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_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sliValue) |
void |
setSliValue(Double sliValue) |
void |
setSpanPrecision(Double spanPrecision) |
void |
setUptime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> uptime) |
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 or time-slice SLOs. 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 of 0 for state means uptime, 1
means downtime, and 2 means 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.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 org.openapitools.jackson.nullable.JsonNullable<Double> getSliValue_JsonNullable()
public void setSliValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sliValue)
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.@Deprecated public org.openapitools.jackson.nullable.JsonNullable<Double> getUptime_JsonNullable()
public void setUptime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> uptime)
public void setUptime(Double uptime)
public SLOHistorySLIData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.