Package com.datadog.api.client.v1.model
Class ServiceLevelObjectiveQuery
java.lang.Object
com.datadog.api.client.v1.model.ServiceLevelObjectiveQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceLevelObjectiveQuery
extends Object
A count-based (metric) SLO query. This field is superseded by
sli_specification but
is retained for backwards compatibility. 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 TypeMethodDescriptiondenominator(String denominator) booleanReturn true if this ServiceLevelObjectiveQuery 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.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) voidsetNumerator(String numerator) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DENOMINATOR
- See Also:
-
JSON_PROPERTY_NUMERATOR
- See Also:
-
-
Constructor Details
-
ServiceLevelObjectiveQuery
public ServiceLevelObjectiveQuery() -
ServiceLevelObjectiveQuery
-
-
Method Details
-
denominator
-
getDenominator
A Datadog metric query for total (valid) events.- Returns:
- denominator
-
setDenominator
-
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:
- ServiceLevelObjectiveQuery
-
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 ServiceLevelObjectiveQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-