Package com.datadog.api.client.v2.model
Class InboxRuleAttributesCreate
java.lang.Object
com.datadog.api.client.v2.model.InboxRuleAttributesCreate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class InboxRuleAttributesCreate
extends Object
Attributes for creating or updating an inbox rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInboxRuleAttributesCreate(InboxRuleAction action, String name, AutomationRuleScope rule) -
Method Summary
Modifier and TypeMethodDescriptionaction(InboxRuleAction action) booleanReturn true if this InboxRuleAttributesCreate object is equal to o.The action to take when the inbox rule matches a finding.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the inbox rule is enabled.getName()The name of the inbox 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(InboxRuleAction 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
-
InboxRuleAttributesCreate
public InboxRuleAttributesCreate() -
InboxRuleAttributesCreate
-
-
Method Details
-
action
-
getAction
The action to take when the inbox rule matches a finding.- Returns:
- action
-
setAction
-
enabled
-
getEnabled
Whether the inbox rule is enabled.- Returns:
- enabled
-
setEnabled
-
name
-
getName
The name of the inbox 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:
- InboxRuleAttributesCreate
-
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 InboxRuleAttributesCreate object is equal to o. -
hashCode
public int hashCode() -
toString
-