Package com.datadog.api.client.v2.model
Class DeploymentRuleOptionsMonitor
java.lang.Object
com.datadog.api.client.v2.model.DeploymentRuleOptionsMonitor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentRuleOptionsMonitor
extends Object
Monitor query options for deployment rules.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DeploymentRuleOptionsMonitor object is equal to o.failOnNoData(Boolean failOnNoData) failOnNoGroupsFound(Boolean failOnNoGroupsFound) Seconds the monitor needs to stay in OK status for the rule to pass.Whether the rule should fail if a matching monitor group is in a NO DATA state.Whether the rule should fail if no monitor groups are found for the query.getQuery()A query that selects the monitors to evaluate.Seconds to wait after a deployment starts before evaluating the monitor's status.inthashCode()voidsetDuration(Long duration) voidsetFailOnNoData(Boolean failOnNoData) voidsetFailOnNoGroupsFound(Boolean failOnNoGroupsFound) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_FAIL_ON_NO_DATA
- See Also:
-
JSON_PROPERTY_FAIL_ON_NO_GROUPS_FOUND
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_WARMUP
- See Also:
-
-
Constructor Details
-
DeploymentRuleOptionsMonitor
public DeploymentRuleOptionsMonitor() -
DeploymentRuleOptionsMonitor
-
-
Method Details
-
duration
-
getDuration
Seconds the monitor needs to stay in OK status for the rule to pass.- Returns:
- duration
-
setDuration
-
failOnNoData
-
getFailOnNoData
Whether the rule should fail if a matching monitor group is in a NO DATA state.- Returns:
- failOnNoData
-
setFailOnNoData
-
failOnNoGroupsFound
-
getFailOnNoGroupsFound
Whether the rule should fail if no monitor groups are found for the query.- Returns:
- failOnNoGroupsFound
-
setFailOnNoGroupsFound
-
query
-
getQuery
A query that selects the monitors to evaluate.- Returns:
- query
-
setQuery
-
warmup
-
getWarmup
Seconds to wait after a deployment starts before evaluating the monitor's status. minimum: 0- Returns:
- warmup
-
setWarmup
-
equals
Return true if this DeploymentRuleOptionsMonitor object is equal to o. -
hashCode
public int hashCode() -
toString
-