Package com.datadog.api.client.v2.model
Class MuteRuleAction
java.lang.Object
com.datadog.api.client.v2.model.MuteRuleAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MuteRuleAction
extends Object
The action to take when the mute rule matches a finding.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MuteRuleAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The Unix timestamp in milliseconds at which the mute expires.The reason for muting a security finding.An optional description providing more context for the mute reason.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.reason(MuteReason reason) reasonDescription(String reasonDescription) voidsetExpireAt(Long expireAt) voidsetReason(MuteReason reason) voidsetReasonDescription(String reasonDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EXPIRE_AT
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_REASON_DESCRIPTION
- See Also:
-
-
Constructor Details
-
MuteRuleAction
public MuteRuleAction() -
MuteRuleAction
-
-
Method Details
-
expireAt
-
getExpireAt
The Unix timestamp in milliseconds at which the mute expires. If omitted, the mute does not expire.- Returns:
- expireAt
-
setExpireAt
-
reason
-
getReason
The reason for muting a security finding.- Returns:
- reason
-
setReason
-
reasonDescription
-
getReasonDescription
An optional description providing more context for the mute reason.- Returns:
- reasonDescription
-
setReasonDescription
-
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:
- MuteRuleAction
-
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 MuteRuleAction object is equal to o. -
hashCode
public int hashCode() -
toString
-