Package com.datadog.api.client.v2.model
Class DeploymentRuleOptionsMonitorIds
java.lang.Object
com.datadog.api.client.v2.model.DeploymentRuleOptionsMonitorIds
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentRuleOptionsMonitorIds
extends Object
Specific monitor options for deployment rules.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddMonitorIdsItem(DeploymentRuleOptionsMonitorId monitorIdsItem) booleanReturn true if this DeploymentRuleOptionsMonitorIds object is equal to o.failOnNoData(Boolean failOnNoData) failOnNoGroupsFound(Boolean failOnNoGroupsFound) Seconds the monitors need to stay in OK status for the rule to pass.Whether the rule should fail if a selected monitor group is in a NO DATA state.Whether the rule should fail if no monitor groups are found for the selected monitors.A non-empty list of specific monitors to evaluate.Seconds to wait after a deployment starts before evaluating the monitors' statuses.inthashCode()monitorIds(List<DeploymentRuleOptionsMonitorId> monitorIds) voidsetDuration(Long duration) voidsetFailOnNoData(Boolean failOnNoData) voidsetFailOnNoGroupsFound(Boolean failOnNoGroupsFound) voidsetMonitorIds(List<DeploymentRuleOptionsMonitorId> monitorIds) voidtoString()
-
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_MONITOR_IDS
- See Also:
-
JSON_PROPERTY_WARMUP
- See Also:
-
-
Constructor Details
-
DeploymentRuleOptionsMonitorIds
public DeploymentRuleOptionsMonitorIds() -
DeploymentRuleOptionsMonitorIds
-
-
Method Details
-
duration
-
getDuration
Seconds the monitors need to stay in OK status for the rule to pass.- Returns:
- duration
-
setDuration
-
failOnNoData
-
getFailOnNoData
Whether the rule should fail if a selected 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 selected monitors.- Returns:
- failOnNoGroupsFound
-
setFailOnNoGroupsFound
-
monitorIds
-
addMonitorIdsItem
public DeploymentRuleOptionsMonitorIds addMonitorIdsItem(DeploymentRuleOptionsMonitorId monitorIdsItem) -
getMonitorIds
A non-empty list of specific monitors to evaluate.- Returns:
- monitorIds
-
setMonitorIds
-
warmup
-
getWarmup
Seconds to wait after a deployment starts before evaluating the monitors' statuses. minimum: 0- Returns:
- warmup
-
setWarmup
-
equals
Return true if this DeploymentRuleOptionsMonitorIds object is equal to o. -
hashCode
public int hashCode() -
toString
-