Package com.datadog.api.client.v1.model
Class MonitorFormulaAndFunctionDataQualityModelConfiguration
java.lang.Object
com.datadog.api.client.v1.model.MonitorFormulaAndFunctionDataQualityModelConfiguration
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorFormulaAndFunctionDataQualityModelConfiguration
extends Object
Tuning options for the anomaly detection model used by the monitor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoResolveDays(Integer autoResolveDays) enableFlatlineDetection(Boolean enableFlatlineDetection) booleanReturn true if this MonitorFormulaAndFunctionDataQualityModelConfiguration object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Number of days after which an open alert is automatically resolved.Whether to alert when the measure stops changing entirely.Function applied to the measure before it is compared against the predicted bounds.Minimum distance between the predicted value and the lower bound.Minimum distance between the predicted value and the upper bound.Restricts which predicted bound the monitor alerts on.inthashCode()minLowerBoundSize(Double minLowerBoundSize) minUpperBoundSize(Double minUpperBoundSize) modelBoundsOverride(MonitorFormulaAndFunctionDataQualityModelBoundsOverride modelBoundsOverride) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAutoResolveDays(Integer autoResolveDays) voidsetEnableFlatlineDetection(Boolean enableFlatlineDetection) voidvoidsetMinLowerBoundSize(Double minLowerBoundSize) voidsetMinUpperBoundSize(Double minUpperBoundSize) voidsetModelBoundsOverride(MonitorFormulaAndFunctionDataQualityModelBoundsOverride modelBoundsOverride) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTO_RESOLVE_DAYS
- See Also:
-
JSON_PROPERTY_ENABLE_FLATLINE_DETECTION
- See Also:
-
JSON_PROPERTY_FUNCTION
- See Also:
-
JSON_PROPERTY_MIN_LOWER_BOUND_SIZE
- See Also:
-
JSON_PROPERTY_MIN_UPPER_BOUND_SIZE
- See Also:
-
JSON_PROPERTY_MODEL_BOUNDS_OVERRIDE
- See Also:
-
-
Constructor Details
-
MonitorFormulaAndFunctionDataQualityModelConfiguration
public MonitorFormulaAndFunctionDataQualityModelConfiguration()
-
-
Method Details
-
autoResolveDays
public MonitorFormulaAndFunctionDataQualityModelConfiguration autoResolveDays(Integer autoResolveDays) -
getAutoResolveDays
Number of days after which an open alert is automatically resolved. When unset, alerts stay open until the measure returns within bounds. minimum: 1 maximum: 365- Returns:
- autoResolveDays
-
setAutoResolveDays
-
enableFlatlineDetection
public MonitorFormulaAndFunctionDataQualityModelConfiguration enableFlatlineDetection(Boolean enableFlatlineDetection) -
getEnableFlatlineDetection
Whether to alert when the measure stops changing entirely. Defaults totrue.- Returns:
- enableFlatlineDetection
-
setEnableFlatlineDetection
-
function
public MonitorFormulaAndFunctionDataQualityModelConfiguration function(MonitorFormulaAndFunctionDataQualityDiffFunction function) -
getFunction
Function applied to the measure before it is compared against the predicted bounds.- Returns:
- function
-
setFunction
-
minLowerBoundSize
public MonitorFormulaAndFunctionDataQualityModelConfiguration minLowerBoundSize(Double minLowerBoundSize) -
getMinLowerBoundSize
Minimum distance between the predicted value and the lower bound. Widening the lower bound to at least this size suppresses alerts on small downward deviations. When unset, no minimum is enforced.- Returns:
- minLowerBoundSize
-
setMinLowerBoundSize
-
minUpperBoundSize
public MonitorFormulaAndFunctionDataQualityModelConfiguration minUpperBoundSize(Double minUpperBoundSize) -
getMinUpperBoundSize
Minimum distance between the predicted value and the upper bound. Widening the upper bound to at least this size suppresses alerts on small upward deviations. When unset, no minimum is enforced.- Returns:
- minUpperBoundSize
-
setMinUpperBoundSize
-
modelBoundsOverride
public MonitorFormulaAndFunctionDataQualityModelConfiguration modelBoundsOverride(MonitorFormulaAndFunctionDataQualityModelBoundsOverride modelBoundsOverride) -
getModelBoundsOverride
Restricts which predicted bound the monitor alerts on.UPPER_ONLYalerts only when the measure rises above the upper bound,LOWER_ONLYonly when it falls below the lower bound. When unset, the monitor alerts on both.- Returns:
- modelBoundsOverride
-
setModelBoundsOverride
public void setModelBoundsOverride(MonitorFormulaAndFunctionDataQualityModelBoundsOverride modelBoundsOverride) -
putAdditionalProperty
public MonitorFormulaAndFunctionDataQualityModelConfiguration putAdditionalProperty(String key, Object value) 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:
- MonitorFormulaAndFunctionDataQualityModelConfiguration
-
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 MonitorFormulaAndFunctionDataQualityModelConfiguration object is equal to o. -
hashCode
public int hashCode() -
toString
-