Class SecurityMonitoringSuppressionAttributes

java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringSuppressionAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringSuppressionAttributes extends Object
The attributes of the suppression rule.
  • Field Details

  • Constructor Details

    • SecurityMonitoringSuppressionAttributes

      public SecurityMonitoringSuppressionAttributes()
  • Method Details

    • creationDate

      public SecurityMonitoringSuppressionAttributes creationDate(Long creationDate)
    • getCreationDate

      @Nullable public Long getCreationDate()
      A Unix millisecond timestamp given the creation date of the suppression rule.
      Returns:
      creationDate
    • setCreationDate

      public void setCreationDate(Long creationDate)
    • creator

    • getCreator

      @Nullable public SecurityMonitoringUser getCreator()
      A user.
      Returns:
      creator
    • setCreator

      public void setCreator(SecurityMonitoringUser creator)
    • dataExclusionQuery

      public SecurityMonitoringSuppressionAttributes 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 SecurityMonitoringSuppressionAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • editable

    • getEditable

      @Nullable public Boolean getEditable()
      Whether the suppression rule is editable.
      Returns:
      editable
    • setEditable

      public void setEditable(Boolean editable)
    • enabled

    • getEnabled

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

      public void setEnabled(Boolean enabled)
    • expirationDate

      public SecurityMonitoringSuppressionAttributes 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.
      Returns:
      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

      public SecurityMonitoringSuppressionAttributes ruleQuery(String 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

      public SecurityMonitoringSuppressionAttributes startDate(Long 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.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(Long startDate)
    • suppressionQuery

      public SecurityMonitoringSuppressionAttributes 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

      public SecurityMonitoringSuppressionAttributes addTagsItem(String tagsItem)
    • getTags

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

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

      public SecurityMonitoringSuppressionAttributes updateDate(Long updateDate)
    • getUpdateDate

      @Nullable public Long getUpdateDate()
      A Unix millisecond timestamp given the update date of the suppression rule.
      Returns:
      updateDate
    • setUpdateDate

      public void setUpdateDate(Long updateDate)
    • updater

    • getUpdater

      @Nullable public SecurityMonitoringUser getUpdater()
      A user.
      Returns:
      updater
    • setUpdater

      public void setUpdater(SecurityMonitoringUser updater)
    • version

    • getVersion

      @Nullable public Integer getVersion()
      The version of the suppression rule; it starts at 1, and is incremented at each update. maximum: 2147483647
      Returns:
      version
    • setVersion

      public void setVersion(Integer version)
    • putAdditionalProperty

      public SecurityMonitoringSuppressionAttributes 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:
      SecurityMonitoringSuppressionAttributes
    • 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 SecurityMonitoringSuppressionAttributes 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