@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOHistoryMetrics extends Object
metric based SLO history response.
This is not included in responses for monitor based SLOs.
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DENOMINATOR |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_NUMERATOR |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_RES_TYPE |
static String |
JSON_PROPERTY_RESP_VERSION |
static String |
JSON_PROPERTY_TIMES |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOHistoryMetrics() |
SLOHistoryMetrics(SLOHistoryMetricsSeries denominator,
Long interval,
SLOHistoryMetricsSeries numerator,
String query,
String resType,
Long respVersion,
List<Double> times) |
| Modifier and Type | Method and Description |
|---|---|
SLOHistoryMetrics |
addTimesItem(Double timesItem) |
SLOHistoryMetrics |
denominator(SLOHistoryMetricsSeries denominator) |
boolean |
equals(Object o)
Return true if this SLOHistoryMetrics object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SLOHistoryMetricsSeries |
getDenominator()
A representation of
metric based SLO timeseries for the provided queries. |
Long |
getInterval()
The aggregated query interval for the series data.
|
String |
getMessage()
Optional message if there are specific query issues/warnings.
|
SLOHistoryMetricsSeries |
getNumerator()
A representation of
metric based SLO timeseries for the provided queries. |
String |
getQuery()
The combined numerator and denominator query CSV.
|
Long |
getRespVersion()
The series response version type.
|
String |
getResType()
The series result type.
|
List<Double> |
getTimes()
An array of query timestamps in EPOCH milliseconds.
|
int |
hashCode() |
SLOHistoryMetrics |
interval(Long interval) |
SLOHistoryMetrics |
message(String message) |
SLOHistoryMetrics |
numerator(SLOHistoryMetricsSeries numerator) |
SLOHistoryMetrics |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOHistoryMetrics |
query(String query) |
SLOHistoryMetrics |
respVersion(Long respVersion) |
SLOHistoryMetrics |
resType(String resType) |
void |
setDenominator(SLOHistoryMetricsSeries denominator) |
void |
setInterval(Long interval) |
void |
setMessage(String message) |
void |
setNumerator(SLOHistoryMetricsSeries numerator) |
void |
setQuery(String query) |
void |
setRespVersion(Long respVersion) |
void |
setResType(String resType) |
void |
setTimes(List<Double> times) |
SLOHistoryMetrics |
times(List<Double> times) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DENOMINATOR
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_NUMERATOR
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_RES_TYPE
public static final String JSON_PROPERTY_RESP_VERSION
public static final String JSON_PROPERTY_TIMES
public SLOHistoryMetrics()
public SLOHistoryMetrics(SLOHistoryMetricsSeries denominator, Long interval, SLOHistoryMetricsSeries numerator, String query, String resType, Long respVersion, List<Double> times)
public SLOHistoryMetrics denominator(SLOHistoryMetricsSeries denominator)
public SLOHistoryMetricsSeries getDenominator()
metric based SLO timeseries for the provided queries. This is
the same response type from batch_query endpoint.public void setDenominator(SLOHistoryMetricsSeries denominator)
public SLOHistoryMetrics interval(Long interval)
public Long getInterval()
public void setInterval(Long interval)
public SLOHistoryMetrics message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public SLOHistoryMetrics numerator(SLOHistoryMetricsSeries numerator)
public SLOHistoryMetricsSeries getNumerator()
metric based SLO timeseries for the provided queries. This is
the same response type from batch_query endpoint.public void setNumerator(SLOHistoryMetricsSeries numerator)
public SLOHistoryMetrics query(String query)
public String getQuery()
public void setQuery(String query)
public SLOHistoryMetrics resType(String resType)
public String getResType()
batch_query response type.public void setResType(String resType)
public SLOHistoryMetrics respVersion(Long respVersion)
public Long getRespVersion()
batch_query response type.public void setRespVersion(Long respVersion)
public SLOHistoryMetrics times(List<Double> times)
public SLOHistoryMetrics addTimesItem(Double timesItem)
public List<Double> getTimes()
public SLOHistoryMetrics 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.