Package com.datadog.api.client.v2.model
Class DeploymentGatesMonitorRuleOptions
java.lang.Object
com.datadog.api.client.v2.model.DeploymentGatesMonitorRuleOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DeploymentGatesMonitorRuleOptions
extends Object
Options for a
monitor rule.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DeploymentGatesMonitorRuleOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Evaluation window in seconds.getQuery()Monitor search query.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDuration(Long duration) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
DeploymentGatesMonitorRuleOptions
public DeploymentGatesMonitorRuleOptions() -
DeploymentGatesMonitorRuleOptions
-
-
Method Details
-
duration
-
getDuration
Evaluation window in seconds. Maximum 7200 (2 hours). maximum: 7200- Returns:
- duration
-
setDuration
-
query
-
getQuery
Monitor search query.- Returns:
- query
-
setQuery
-
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:
- DeploymentGatesMonitorRuleOptions
-
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 DeploymentGatesMonitorRuleOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-