Package com.datadog.api.client.v1.model
Class SearchSLOQuery
java.lang.Object
com.datadog.api.client.v1.model.SearchSLOQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SearchSLOQuery
extends Object
A metric-based SLO. Required if type is
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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(String metricsItem) denominator(String denominator) booleanReturn true if this SearchSLOQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A Datadog metric query for total (valid) events.Metric names used in the query's numerator and denominator.A Datadog metric query for good events.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDenominator(String denominator) voidsetMetrics(List<String> metrics) voidsetMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics) voidsetNumerator(String numerator) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DENOMINATOR
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_NUMERATOR
- See Also:
-
-
Constructor Details
-
SearchSLOQuery
public SearchSLOQuery()
-
-
Method Details
-
denominator
-
getDenominator
A Datadog metric query for total (valid) events.- Returns:
- denominator
-
setDenominator
-
metrics
-
addMetricsItem
-
getMetrics
Metric names used in the query's numerator and denominator. This field will return null and will be implemented in the next version of this endpoint.- Returns:
- metrics
-
getMetrics_JsonNullable
-
setMetrics_JsonNullable
-
setMetrics
-
numerator
-
getNumerator
A Datadog metric query for good events.- Returns:
- numerator
-
setNumerator
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SearchSLOQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SearchSLOQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-