@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SearchSLOQuery extends Object
metric. Note that Datadog
only allows the sum by aggregator to be used because this will sum up all request counts instead
of averaging them, or taking the max or min of all of those requests.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DENOMINATOR |
static String |
JSON_PROPERTY_METRICS |
static String |
JSON_PROPERTY_NUMERATOR |
boolean |
unparsed |
| Constructor and Description |
|---|
SearchSLOQuery() |
| Modifier and Type | Method and Description |
|---|---|
SearchSLOQuery |
addMetricsItem(String metricsItem) |
SearchSLOQuery |
denominator(String denominator) |
boolean |
equals(Object o)
Return true if this SearchSLOQuery 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.
|
String |
getDenominator()
A Datadog metric query for total (valid) events.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getMetrics_JsonNullable() |
List<String> |
getMetrics()
Metric names used in the query's numerator and denominator.
|
String |
getNumerator()
A Datadog metric query for good events.
|
int |
hashCode() |
SearchSLOQuery |
metrics(List<String> metrics) |
SearchSLOQuery |
numerator(String numerator) |
SearchSLOQuery |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDenominator(String denominator) |
void |
setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics) |
void |
setMetrics(List<String> metrics) |
void |
setNumerator(String numerator) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DENOMINATOR
public static final String JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_NUMERATOR
public SearchSLOQuery denominator(String denominator)
@Nullable public String getDenominator()
public void setDenominator(String denominator)
public SearchSLOQuery metrics(List<String> metrics)
public SearchSLOQuery addMetricsItem(String metricsItem)
@Nullable public List<String> getMetrics()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getMetrics_JsonNullable()
public void setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics)
public SearchSLOQuery numerator(String numerator)
@Nullable public String getNumerator()
public void setNumerator(String numerator)
public SearchSLOQuery 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.