Class SecurityMonitoringRuleNewValueOptions

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringRuleNewValueOptions extends Object
Options on new value detection method.
  • Field Details

  • Constructor Details

    • SecurityMonitoringRuleNewValueOptions

      public SecurityMonitoringRuleNewValueOptions()
  • Method Details

    • forgetAfter

      public SecurityMonitoringRuleNewValueOptions forgetAfter(Integer forgetAfter)
    • getForgetAfter

      @Nullable public Integer getForgetAfter()
      The duration in days after which a learned value is forgotten. minimum: 1 maximum: 30
      Returns:
      forgetAfter
    • setForgetAfter

      public void setForgetAfter(Integer forgetAfter)
    • instantaneousBaseline

      public SecurityMonitoringRuleNewValueOptions instantaneousBaseline(Boolean instantaneousBaseline)
    • getInstantaneousBaseline

      @Nullable public Boolean getInstantaneousBaseline()
      When set to true, Datadog uses previous values that fall within the defined learning window to construct the baseline, enabling the system to establish an accurate baseline more rapidly rather than relying solely on gradual learning over time.
      Returns:
      instantaneousBaseline
    • setInstantaneousBaseline

      public void setInstantaneousBaseline(Boolean instantaneousBaseline)
    • learningDuration

      public SecurityMonitoringRuleNewValueOptions learningDuration(Integer learningDuration)
    • getLearningDuration

      @Nullable public Integer getLearningDuration()
      The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. minimum: 0 maximum: 30
      Returns:
      learningDuration
    • setLearningDuration

      public void setLearningDuration(Integer learningDuration)
    • learningMethod

    • getLearningMethod

      @Nullable public SecurityMonitoringRuleNewValueOptionsLearningMethod getLearningMethod()
      The learning method used to determine when signals should be generated for values that weren't learned.
      Returns:
      learningMethod
    • setLearningMethod

      public void setLearningMethod(SecurityMonitoringRuleNewValueOptionsLearningMethod learningMethod)
    • learningThreshold

    • getLearningThreshold

      @Nullable public SecurityMonitoringRuleNewValueOptionsLearningThreshold getLearningThreshold()
      A number of occurrences after which signals will be generated for values that weren't learned.
      Returns:
      learningThreshold
    • setLearningThreshold

      public void setLearningThreshold(SecurityMonitoringRuleNewValueOptionsLearningThreshold learningThreshold)
    • putAdditionalProperty

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