Package com.datadog.api.client.v2.model
Class SeverityModifierRuleSetAction
java.lang.Object
com.datadog.api.client.v2.model.SeverityModifierRuleSetAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SeverityModifierRuleSetAction
extends Object
Sets matched findings to a fixed severity.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSeverityModifierRuleSetAction(SeverityModifierSeverity severity, SeverityModifierRuleSetActionType type) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this SeverityModifierRuleSetAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An optional free-form explanation for the severity change.The severity to assign to matched findings.getType()The type of a severity modifier rule action that sets a fixed severity.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetSeverity(SeverityModifierSeverity severity) voidseverity(SeverityModifierSeverity severity) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_SEVERITY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SeverityModifierRuleSetAction
public SeverityModifierRuleSetAction() -
SeverityModifierRuleSetAction
public SeverityModifierRuleSetAction(SeverityModifierSeverity severity, SeverityModifierRuleSetActionType type)
-
-
Method Details
-
description
-
getDescription
An optional free-form explanation for the severity change.- Returns:
- description
-
setDescription
-
severity
-
getSeverity
The severity to assign to matched findings.info_noneis not supported for theiac_misconfiguration,runtime_code_vulnerability,secret, orstatic_code_vulnerabilityfinding types.- Returns:
- severity
-
setSeverity
-
type
-
getType
The type of a severity modifier rule action that sets a fixed severity.- 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:
- SeverityModifierRuleSetAction
-
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 SeverityModifierRuleSetAction object is equal to o. -
hashCode
public int hashCode() -
toString
-