Package com.datadog.api.client.v2.model
Class MuteRuleAttributesCreate
java.lang.Object
com.datadog.api.client.v2.model.MuteRuleAttributesCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MuteRuleAttributesCreate
extends Object
Attributes for creating or updating a mute rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMuteRuleAttributesCreate(MuteRuleAction action, String name, AutomationRuleScope rule) -
Method Summary
Modifier and TypeMethodDescriptionaction(MuteRuleAction action) booleanReturn true if this MuteRuleAttributesCreate object is equal to o.The action to take when the mute rule matches a finding.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the mute rule is enabled.getName()The name of the mute rule.getRule()Defines the scope of findings to which the automation rule applies.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rule(AutomationRuleScope rule) voidsetAction(MuteRuleAction action) voidsetEnabled(Boolean enabled) voidvoidsetRule(AutomationRuleScope rule) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULE
- See Also:
-
-
Constructor Details
-
MuteRuleAttributesCreate
public MuteRuleAttributesCreate() -
MuteRuleAttributesCreate
-
-
Method Details
-
action
-
getAction
The action to take when the mute rule matches a finding.- Returns:
- action
-
setAction
-
enabled
-
getEnabled
Whether the mute rule is enabled.- Returns:
- enabled
-
setEnabled
-
name
-
getName
The name of the mute rule.- Returns:
- name
-
setName
-
rule
-
getRule
Defines the scope of findings to which the automation rule applies.- Returns:
- rule
-
setRule
-
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:
- MuteRuleAttributesCreate
-
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 MuteRuleAttributesCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-