Package com.datadog.api.client.v1.model
Class MonitorThresholds
java.lang.Object
com.datadog.api.client.v1.model.MonitorThresholds
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorThresholds
extends Object
List of the different monitor threshold available.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncriticalQuery(String criticalQuery) criticalRecovery(Double criticalRecovery) criticalRecoveryQuery(String criticalRecoveryQuery) booleanReturn true if this MonitorThresholds object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The monitorCRITICALthreshold.Query evaluated as a dynamicCRITICALthreshold.The monitorCRITICALrecovery threshold.org.openapitools.jackson.nullable.JsonNullable<Double>Query evaluated as a dynamicCRITICALrecovery threshold.getOk()The monitorOKthreshold.org.openapitools.jackson.nullable.JsonNullable<Double>The monitor UNKNOWN threshold.org.openapitools.jackson.nullable.JsonNullable<Double>The monitorWARNINGthreshold.org.openapitools.jackson.nullable.JsonNullable<Double>The monitorWARNINGrecovery threshold.org.openapitools.jackson.nullable.JsonNullable<Double>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCritical(Double critical) voidsetCriticalQuery(String criticalQuery) voidsetCriticalRecovery(Double criticalRecovery) voidsetCriticalRecovery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> criticalRecovery) voidsetCriticalRecoveryQuery(String criticalRecoveryQuery) voidvoidsetOk_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> ok) voidsetUnknown(Double unknown) voidsetUnknown_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> unknown) voidsetWarning(Double warning) voidsetWarning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> warning) voidsetWarningRecovery(Double warningRecovery) voidsetWarningRecovery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> warningRecovery) toString()warningRecovery(Double warningRecovery)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CRITICAL
- See Also:
-
JSON_PROPERTY_CRITICAL_QUERY
- See Also:
-
JSON_PROPERTY_CRITICAL_RECOVERY
- See Also:
-
JSON_PROPERTY_CRITICAL_RECOVERY_QUERY
- See Also:
-
JSON_PROPERTY_OK
- See Also:
-
JSON_PROPERTY_UNKNOWN
- See Also:
-
JSON_PROPERTY_WARNING
- See Also:
-
JSON_PROPERTY_WARNING_RECOVERY
- See Also:
-
-
Constructor Details
-
MonitorThresholds
public MonitorThresholds()
-
-
Method Details
-
critical
-
getCritical
The monitorCRITICALthreshold.- Returns:
- critical
-
setCritical
-
criticalQuery
-
getCriticalQuery
Query evaluated as a dynamicCRITICALthreshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.- Returns:
- criticalQuery
-
setCriticalQuery
-
criticalRecovery
-
getCriticalRecovery
The monitorCRITICALrecovery threshold.- Returns:
- criticalRecovery
-
getCriticalRecovery_JsonNullable
-
setCriticalRecovery_JsonNullable
public void setCriticalRecovery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> criticalRecovery) -
setCriticalRecovery
-
criticalRecoveryQuery
-
getCriticalRecoveryQuery
Query evaluated as a dynamicCRITICALrecovery threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.- Returns:
- criticalRecoveryQuery
-
setCriticalRecoveryQuery
-
ok
-
getOk
The monitorOKthreshold.- Returns:
- ok
-
getOk_JsonNullable
-
setOk_JsonNullable
-
setOk
-
unknown
-
getUnknown
The monitor UNKNOWN threshold.- Returns:
- unknown
-
getUnknown_JsonNullable
-
setUnknown_JsonNullable
-
setUnknown
-
warning
-
getWarning
The monitorWARNINGthreshold.- Returns:
- warning
-
getWarning_JsonNullable
-
setWarning_JsonNullable
-
setWarning
-
warningRecovery
-
getWarningRecovery
The monitorWARNINGrecovery threshold.- Returns:
- warningRecovery
-
getWarningRecovery_JsonNullable
-
setWarningRecovery_JsonNullable
public void setWarningRecovery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> warningRecovery) -
setWarningRecovery
-
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:
- MonitorThresholds
-
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 MonitorThresholds object is equal to o. -
hashCode
public int hashCode() -
toString
-