Package com.datadog.api.client.v1.model
Class MonitorThresholdWindowOptions
java.lang.Object
com.datadog.api.client.v1.model.MonitorThresholdWindowOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorThresholdWindowOptions
extends Object
Alerting time window options.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MonitorThresholdWindowOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Describes how long an anomalous metric must be normal before the alert recovers.org.openapitools.jackson.nullable.JsonNullable<String>Describes how long a metric must be anomalous before an alert triggers.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recoveryWindow(String recoveryWindow) voidsetRecoveryWindow(String recoveryWindow) voidsetRecoveryWindow_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> recoveryWindow) voidsetTriggerWindow(String triggerWindow) voidsetTriggerWindow_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggerWindow) toString()triggerWindow(String triggerWindow)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_RECOVERY_WINDOW
- See Also:
-
JSON_PROPERTY_TRIGGER_WINDOW
- See Also:
-
-
Constructor Details
-
MonitorThresholdWindowOptions
public MonitorThresholdWindowOptions()
-
-
Method Details
-
recoveryWindow
-
getRecoveryWindow
Describes how long an anomalous metric must be normal before the alert recovers.- Returns:
- recoveryWindow
-
getRecoveryWindow_JsonNullable
-
setRecoveryWindow_JsonNullable
public void setRecoveryWindow_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> recoveryWindow) -
setRecoveryWindow
-
triggerWindow
-
getTriggerWindow
Describes how long a metric must be anomalous before an alert triggers.- Returns:
- triggerWindow
-
getTriggerWindow_JsonNullable
-
setTriggerWindow_JsonNullable
public void setTriggerWindow_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> triggerWindow) -
setTriggerWindow
-
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:
- MonitorThresholdWindowOptions
-
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 MonitorThresholdWindowOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-