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 Details

  • Constructor Details

    • SecurityMonitoringSuppressionUpdateAttributes

      public SecurityMonitoringSuppressionUpdateAttributes()
  • Method Details

    • dataExclusionQuery

      public SecurityMonitoringSuppressionUpdateAttributes dataExclusionQuery(String dataExclusionQuery)
    • getDataExclusionQuery

      @Nullable public String 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

      public void setDataExclusionQuery(String dataExclusionQuery)
    • description

      public SecurityMonitoringSuppressionUpdateAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      A description for the suppression rule.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • enabled

    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether the suppression rule is enabled.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • expirationDate

      public SecurityMonitoringSuppressionUpdateAttributes expirationDate(Long expirationDate)
    • getExpirationDate

      @Nullable public Long 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 to null, the expiration date is removed.
      Returns:
      expirationDate
    • getExpirationDate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getExpirationDate_JsonNullable()
    • setExpirationDate_JsonNullable

      public void setExpirationDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> expirationDate)
    • setExpirationDate

      public void setExpirationDate(Long expirationDate)
    • name

    • getName

      @Nullable public String getName()
      The name of the suppression rule.
      Returns:
      name
    • setName

      public void setName(String name)
    • ruleQuery

    • getRuleQuery

      @Nullable public String getRuleQuery()
      The rule query of the suppression rule, with the same syntax as the search bar for detection rules.
      Returns:
      ruleQuery
    • setRuleQuery

      public void setRuleQuery(String ruleQuery)
    • startDate

    • getStartDate

      @Nullable public Long 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 to null, the start date is removed.
      Returns:
      startDate
    • getStartDate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getStartDate_JsonNullable()
    • setStartDate_JsonNullable

      public void setStartDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> startDate)
    • setStartDate

      public void setStartDate(Long startDate)
    • suppressionQuery

      public SecurityMonitoringSuppressionUpdateAttributes suppressionQuery(String suppressionQuery)
    • getSuppressionQuery

      @Nullable public String 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

      public void setSuppressionQuery(String suppressionQuery)
    • tags

    • addTagsItem

    • getTags

      @Nullable public List<String> getTags()
      List of tags associated with the suppression rule.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • version

    • getVersion

      @Nullable public Integer getVersion()
      The current version of the suppression. This is optional, but it can help prevent concurrent modifications. maximum: 2147483647
      Returns:
      version
    • setVersion

      public void setVersion(Integer version)
    • 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 set
      value - The associated value
      Returns:
      SecurityMonitoringSuppressionUpdateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SecurityMonitoringSuppressionUpdateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object