@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SeverityModifierRuleAttributesResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTION |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_MODIFIED_BY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RULE |
boolean |
unparsed |
| Constructor and Description |
|---|
SeverityModifierRuleAttributesResponse() |
SeverityModifierRuleAttributesResponse(SeverityModifierRuleAction action,
Long createdAt,
AutomationRuleCreatedBy createdBy,
Boolean enabled,
Long modifiedAt,
AutomationRuleModifiedBy modifiedBy,
String name,
AutomationRuleScope rule) |
| Modifier and Type | Method and Description |
|---|---|
SeverityModifierRuleAttributesResponse |
action(SeverityModifierRuleAction action) |
SeverityModifierRuleAttributesResponse |
createdAt(Long createdAt) |
SeverityModifierRuleAttributesResponse |
createdBy(AutomationRuleCreatedBy createdBy) |
SeverityModifierRuleAttributesResponse |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this SeverityModifierRuleAttributesResponse object is equal to o.
|
SeverityModifierRuleAction |
getAction()
The action to take when a severity modifier rule matches a finding.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getCreatedAt()
The Unix timestamp in milliseconds when the rule was created.
|
AutomationRuleCreatedBy |
getCreatedBy()
The user or Datadog system who created the rule.
|
Boolean |
getEnabled()
Whether the severity modifier rule is enabled.
|
Long |
getModifiedAt()
The Unix timestamp in milliseconds when the rule was last modified.
|
AutomationRuleModifiedBy |
getModifiedBy()
The user or Datadog system who last modified the rule.
|
String |
getName()
The name of the severity modifier rule.
|
AutomationRuleScope |
getRule()
Defines the scope of findings to which the automation rule applies.
|
int |
hashCode() |
SeverityModifierRuleAttributesResponse |
modifiedAt(Long modifiedAt) |
SeverityModifierRuleAttributesResponse |
modifiedBy(AutomationRuleModifiedBy modifiedBy) |
SeverityModifierRuleAttributesResponse |
name(String name) |
SeverityModifierRuleAttributesResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SeverityModifierRuleAttributesResponse |
rule(AutomationRuleScope rule) |
void |
setAction(SeverityModifierRuleAction action) |
void |
setCreatedAt(Long createdAt) |
void |
setCreatedBy(AutomationRuleCreatedBy createdBy) |
void |
setEnabled(Boolean enabled) |
void |
setModifiedAt(Long modifiedAt) |
void |
setModifiedBy(AutomationRuleModifiedBy modifiedBy) |
void |
setName(String name) |
void |
setRule(AutomationRuleScope rule) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_MODIFIED_BY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RULE
public SeverityModifierRuleAttributesResponse()
public SeverityModifierRuleAttributesResponse(SeverityModifierRuleAction action, Long createdAt, AutomationRuleCreatedBy createdBy, Boolean enabled, Long modifiedAt, AutomationRuleModifiedBy modifiedBy, String name, AutomationRuleScope rule)
public SeverityModifierRuleAttributesResponse action(SeverityModifierRuleAction action)
public SeverityModifierRuleAction getAction()
type: set assigns a fixed severity, while shift
moves the severity up or down by one rank.
A severity modifier rule's rule.query must not filter on @severity
or on the @severity_details.user_adjusted.* namespace.
Use @severity_details.adjusted.value instead, which reflects the severity
before user-defined adjustments.
public void setAction(SeverityModifierRuleAction action)
public SeverityModifierRuleAttributesResponse createdAt(Long createdAt)
public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
public SeverityModifierRuleAttributesResponse createdBy(AutomationRuleCreatedBy createdBy)
public AutomationRuleCreatedBy getCreatedBy()
public void setCreatedBy(AutomationRuleCreatedBy createdBy)
public SeverityModifierRuleAttributesResponse enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public SeverityModifierRuleAttributesResponse modifiedAt(Long modifiedAt)
public Long getModifiedAt()
public void setModifiedAt(Long modifiedAt)
public SeverityModifierRuleAttributesResponse modifiedBy(AutomationRuleModifiedBy modifiedBy)
public AutomationRuleModifiedBy getModifiedBy()
public void setModifiedBy(AutomationRuleModifiedBy modifiedBy)
public SeverityModifierRuleAttributesResponse name(String name)
public String getName()
public void setName(String name)
public SeverityModifierRuleAttributesResponse rule(AutomationRuleScope rule)
public AutomationRuleScope getRule()
public void setRule(AutomationRuleScope rule)
public SeverityModifierRuleAttributesResponse putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.