Package com.datadog.api.client.v2.model
Class SecurityMonitoringSuppressionUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringSuppressionUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringSuppressionUpdateAttributes
extends Object
The suppression rule properties to be updated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) dataExclusionQuery(String dataExclusionQuery) description(String description) booleanReturn true if this SecurityMonitoringSuppressionUpdateAttributes 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.org.openapitools.jackson.nullable.JsonNullable<Long>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.org.openapitools.jackson.nullable.JsonNullable<Long>The suppression query of the suppression rule.getTags()List of tags associated with the suppression rule.The current version of the suppression.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) voidsetExpirationDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> expirationDate) voidvoidsetRuleQuery(String ruleQuery) voidsetStartDate(Long startDate) voidsetStartDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> startDate) voidsetSuppressionQuery(String suppressionQuery) voidvoidsetVersion(Integer version) suppressionQuery(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:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SecurityMonitoringSuppressionUpdateAttributes
public SecurityMonitoringSuppressionUpdateAttributes()
-
-
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. If unset, the expiration date of the suppression rule is left untouched. If set tonull, the expiration date is removed.- Returns:
- expirationDate
-
getExpirationDate_JsonNullable
-
setExpirationDate_JsonNullable
public void setExpirationDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> 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. If unset, the start date of the suppression rule is left untouched. If set tonull, the start date is removed.- Returns:
- startDate
-
getStartDate_JsonNullable
-
setStartDate_JsonNullable
public void setStartDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> startDate) -
setStartDate
-
suppressionQuery
-
getSuppressionQuery
The suppression query of the suppression rule. If a signal matches this query, it is suppressed and not triggered. Same syntax as the queries to search signals in the signal explorer.- Returns:
- suppressionQuery
-
setSuppressionQuery
-
tags
-
addTagsItem
-
getTags
List of tags associated with the suppression rule.- Returns:
- tags
-
setTags
-
version
-
getVersion
The current version of the suppression. This is optional, but it can help prevent concurrent modifications. maximum: 2147483647- Returns:
- version
-
setVersion
-
putAdditionalProperty
public SecurityMonitoringSuppressionUpdateAttributes 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:
- SecurityMonitoringSuppressionUpdateAttributes
-
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 SecurityMonitoringSuppressionUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-