Package com.datadog.api.client.v2.model
Class SecurityMonitoringSuppressionCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringSuppressionCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringSuppressionCreateAttributes
extends Object
Object containing the attributes of the suppression rule to be created.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityMonitoringSuppressionCreateAttributes(Boolean enabled, String name, String ruleQuery) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) dataExclusionQuery(String dataExclusionQuery) description(String description) booleanReturn true if this SecurityMonitoringSuppressionCreateAttributes object is equal to o.expirationDate(Long expirationDate) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule.A description for the suppression rule.Whether the suppression rule is enabled.A Unix millisecond timestamp giving an expiration date for the suppression rule.getName()The name of the suppression rule.The rule query of the suppression rule, with the same syntax as the search bar for detection rules.A Unix millisecond timestamp giving the start date for the suppression rule.The suppression query of the suppression rule.getTags()List of tags associated with the suppression rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDataExclusionQuery(String dataExclusionQuery) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetExpirationDate(Long expirationDate) voidvoidsetRuleQuery(String ruleQuery) voidsetStartDate(Long startDate) voidsetSuppressionQuery(String suppressionQuery) voidsuppressionQuery(String suppressionQuery) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA_EXCLUSION_QUERY
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULE_QUERY
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_SUPPRESSION_QUERY
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
SecurityMonitoringSuppressionCreateAttributes
public SecurityMonitoringSuppressionCreateAttributes() -
SecurityMonitoringSuppressionCreateAttributes
-
-
Method Details
-
dataExclusionQuery
-
getDataExclusionQuery
An exclusion query on the input data of the security rules, which could be logs, Agent events, or other types of data based on the security rule. Events matching this query are ignored by any detection rules referenced in the suppression rule.- Returns:
- dataExclusionQuery
-
setDataExclusionQuery
-
description
-
getDescription
A description for the suppression rule.- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
Whether the suppression rule is enabled.- Returns:
- enabled
-
setEnabled
-
expirationDate
-
getExpirationDate
A Unix millisecond timestamp giving an expiration date for the suppression rule. After this date, it won't suppress signals anymore.- Returns:
- expirationDate
-
setExpirationDate
-
name
-
getName
The name of the suppression rule.- Returns:
- name
-
setName
-
ruleQuery
-
getRuleQuery
The rule query of the suppression rule, with the same syntax as the search bar for detection rules.- Returns:
- ruleQuery
-
setRuleQuery
-
startDate
-
getStartDate
A Unix millisecond timestamp giving the start date for the suppression rule. After this date, it starts suppressing signals.- Returns:
- startDate
-
setStartDate
-
suppressionQuery
-
getSuppressionQuery
The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.- Returns:
- suppressionQuery
-
setSuppressionQuery
-
tags
-
addTagsItem
-
getTags
List of tags associated with the suppression rule.- Returns:
- tags
-
setTags
-
putAdditionalProperty
public SecurityMonitoringSuppressionCreateAttributes putAdditionalProperty(String key, Object value) 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:
- SecurityMonitoringSuppressionCreateAttributes
-
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 SecurityMonitoringSuppressionCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-