@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DeploymentRuleOptionsMonitor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_FAIL_ON_NO_DATA |
static String |
JSON_PROPERTY_FAIL_ON_NO_GROUPS_FOUND |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_WARMUP |
boolean |
unparsed |
| Constructor and Description |
|---|
DeploymentRuleOptionsMonitor() |
DeploymentRuleOptionsMonitor(String query) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentRuleOptionsMonitor |
duration(Long duration) |
boolean |
equals(Object o)
Return true if this DeploymentRuleOptionsMonitor object is equal to o.
|
DeploymentRuleOptionsMonitor |
failOnNoData(Boolean failOnNoData) |
DeploymentRuleOptionsMonitor |
failOnNoGroupsFound(Boolean failOnNoGroupsFound) |
Long |
getDuration()
Seconds the monitor needs to stay in OK status for the rule to pass.
|
Boolean |
getFailOnNoData()
Whether the rule should fail if a matching monitor group is in a NO DATA state.
|
Boolean |
getFailOnNoGroupsFound()
Whether the rule should fail if no monitor groups are found for the query.
|
String |
getQuery()
Monitors that match this query are evaluated.
|
Long |
getWarmup()
Seconds to wait after a deployment starts before evaluating the monitor's status.
|
int |
hashCode() |
DeploymentRuleOptionsMonitor |
query(String query) |
void |
setDuration(Long duration) |
void |
setFailOnNoData(Boolean failOnNoData) |
void |
setFailOnNoGroupsFound(Boolean failOnNoGroupsFound) |
void |
setQuery(String query) |
void |
setWarmup(Long warmup) |
String |
toString() |
DeploymentRuleOptionsMonitor |
warmup(Long warmup) |
public boolean unparsed
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_FAIL_ON_NO_DATA
public static final String JSON_PROPERTY_FAIL_ON_NO_GROUPS_FOUND
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_WARMUP
public DeploymentRuleOptionsMonitor()
public DeploymentRuleOptionsMonitor(String query)
public DeploymentRuleOptionsMonitor duration(Long duration)
@Nullable public Long getDuration()
public void setDuration(Long duration)
public DeploymentRuleOptionsMonitor failOnNoData(Boolean failOnNoData)
@Nullable public Boolean getFailOnNoData()
public void setFailOnNoData(Boolean failOnNoData)
public DeploymentRuleOptionsMonitor failOnNoGroupsFound(Boolean failOnNoGroupsFound)
@Nullable public Boolean getFailOnNoGroupsFound()
public void setFailOnNoGroupsFound(Boolean failOnNoGroupsFound)
public DeploymentRuleOptionsMonitor query(String query)
public String getQuery()
public void setQuery(String query)
public DeploymentRuleOptionsMonitor warmup(Long warmup)
@Nullable public Long getWarmup()
public void setWarmup(Long warmup)
public boolean equals(Object o)
Copyright © 2026. All rights reserved.