Package com.datadog.api.client.v2.model
Class SeverityModifierRuleShiftAction
java.lang.Object
com.datadog.api.client.v2.model.SeverityModifierRuleShiftAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SeverityModifierRuleShiftAction
extends Object
Shifts matched findings up or down by one severity rank.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSeverityModifierRuleShiftAction(SeverityModifierSeverityDelta severityDelta, SeverityModifierRuleShiftActionType type) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this SeverityModifierRuleShiftAction 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 direction in which to shift the severity of matched findings by one rank.getType()The type of a severity modifier rule action that shifts the severity by one rank.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetSeverityDelta(SeverityModifierSeverityDelta severityDelta) voidseverityDelta(SeverityModifierSeverityDelta severityDelta) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_SEVERITY_DELTA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SeverityModifierRuleShiftAction
public SeverityModifierRuleShiftAction() -
SeverityModifierRuleShiftAction
public SeverityModifierRuleShiftAction(SeverityModifierSeverityDelta severityDelta, SeverityModifierRuleShiftActionType type)
-
-
Method Details
-
description
-
getDescription
An optional free-form explanation for the severity change.- Returns:
- description
-
setDescription
-
severityDelta
-
getSeverityDelta
The direction in which to shift the severity of matched findings by one rank.- Returns:
- severityDelta
-
setSeverityDelta
-
type
-
getType
The type of a severity modifier rule action that shifts the severity by one rank.- 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:
- SeverityModifierRuleShiftAction
-
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 SeverityModifierRuleShiftAction object is equal to o. -
hashCode
public int hashCode() -
toString
-