@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOHistoryMonitor 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 |
|---|
SLOHistoryMonitor() |
| Modifier and Type | Method and Description |
|---|---|
SLOHistoryMonitor |
addErrorsItem(SLOHistoryResponseErrorWithType errorsItem) |
SLOHistoryMonitor |
addHistoryItem(List<Double> historyItem) |
boolean |
equals(Object o)
Return true if this SLOHistoryMonitor object is equal to o.
|
SLOHistoryMonitor |
errorBudgetRemaining(Map<String,Double> errorBudgetRemaining) |
SLOHistoryMonitor |
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 the monitor.
|
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.
|
Double |
getPrecision()
Deprecated.
|
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. |
Double |
getUptime()
Deprecated.
|
SLOHistoryMonitor |
group(String group) |
int |
hashCode() |
SLOHistoryMonitor |
history(List<List<Double>> history) |
SLOHistoryMonitor |
monitorModified(Long monitorModified) |
SLOHistoryMonitor |
monitorType(String monitorType) |
SLOHistoryMonitor |
name(String name) |
SLOHistoryMonitor |
precision(Double precision) |
SLOHistoryMonitor |
preview(Boolean preview) |
SLOHistoryMonitor |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOHistoryMonitor |
putErrorBudgetRemainingItem(String key,
Double errorBudgetRemainingItem) |
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(Double precision)
Deprecated.
|
void |
setPreview(Boolean preview) |
void |
setSliValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sliValue) |
void |
setSliValue(Double sliValue) |
void |
setSpanPrecision(Double spanPrecision) |
void |
setUptime(Double uptime)
Deprecated.
|
SLOHistoryMonitor |
sliValue(Double sliValue) |
SLOHistoryMonitor |
spanPrecision(Double spanPrecision) |
String |
toString() |
SLOHistoryMonitor |
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 SLOHistoryMonitor errorBudgetRemaining(Map<String,Double> errorBudgetRemaining)
public SLOHistoryMonitor 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 SLOHistoryMonitor errors(List<SLOHistoryResponseErrorWithType> errors)
public SLOHistoryMonitor addErrorsItem(SLOHistoryResponseErrorWithType errorsItem)
@Nullable public List<SLOHistoryResponseErrorWithType> getErrors()
public void setErrors(List<SLOHistoryResponseErrorWithType> errors)
public SLOHistoryMonitor group(String group)
@Nullable public String getGroup()
public void setGroup(String group)
public SLOHistoryMonitor history(List<List<Double>> history)
public SLOHistoryMonitor addHistoryItem(List<Double> historyItem)
@Nullable public List<List<Double>> getHistory()
0 for state means uptime, 1 means downtime, and 2 means
no data. Periods of no data are counted either as uptime or downtime depending on monitor
settings. See SLO
documentatio for detailed information.public SLOHistoryMonitor 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 SLOHistoryMonitor monitorType(String monitorType)
@Nullable public String getMonitorType()
monitor based SLOs, this describes the type of monitor.public void setMonitorType(String monitorType)
public SLOHistoryMonitor name(String name)
@Nullable public String getName()
public void setName(String name)
public SLOHistoryMonitor precision(Double precision)
@Deprecated @Nullable public Double getPrecision()
&&
to timestamp. Use span_precision instead.@Deprecated public void setPrecision(Double precision)
public SLOHistoryMonitor 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 SLOHistoryMonitor 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 SLOHistoryMonitor spanPrecision(Double spanPrecision)
@Nullable public Double getSpanPrecision()
&&
to timestamp.public void setSpanPrecision(Double spanPrecision)
public SLOHistoryMonitor uptime(Double uptime)
@Deprecated @Nullable public Double getUptime()
sli_value instead.@Deprecated public void setUptime(Double uptime)
public SLOHistoryMonitor 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.