Package com.datadog.api.client.v2.model
Class DeploymentGatesMonitorRule
java.lang.Object
com.datadog.api.client.v2.model.DeploymentGatesMonitorRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentGatesMonitorRule
extends Object
A monitor rule to evaluate as part of a deployment gate evaluation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DeploymentGatesMonitorRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Rule-level dry run.getName()Human-readable name for this rule.Options for amonitorrule.getType()The type identifier for a monitor rule.inthashCode()options(DeploymentGatesMonitorRuleOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DRY_RUN
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DeploymentGatesMonitorRule
public DeploymentGatesMonitorRule() -
DeploymentGatesMonitorRule
-
-
Method Details
-
dryRun
-
getDryRun
Rule-level dry run. When enabled, the rule is evaluated normally but always returnspass. The real result is visible in the Datadog UI.- Returns:
- dryRun
-
setDryRun
-
name
-
getName
Human-readable name for this rule.- Returns:
- name
-
setName
-
options
-
getOptions
Options for amonitorrule.- Returns:
- options
-
setOptions
-
type
-
getType
The type identifier for a monitor rule.- Returns:
- type
-
setType
-
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:
- DeploymentGatesMonitorRule
-
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 DeploymentGatesMonitorRule object is equal to o. -
hashCode
public int hashCode() -
toString
-