Package com.datadog.api.client.v2.model
Class SecurityMonitoringRuleAnomalyDetectionOptions
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringRuleAnomalyDetectionOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringRuleAnomalyDetectionOptions
extends Object
Options on anomaly detection method.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetectionTolerance(SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance detectionTolerance) booleanReturn true if this SecurityMonitoringRuleAnomalyDetectionOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Duration in seconds of the time buckets used to aggregate events matched by the rule.An optional parameter that sets how permissive anomaly detection is.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.Learning duration in hours.An optional override baseline to apply while the rule is in the learning period.inthashCode()instantaneousBaseline(Boolean instantaneousBaseline) learningPeriodBaseline(Long learningPeriodBaseline) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDetectionTolerance(SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance detectionTolerance) voidsetInstantaneousBaseline(Boolean instantaneousBaseline) voidvoidsetLearningPeriodBaseline(Long learningPeriodBaseline) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUCKET_DURATION
- See Also:
-
JSON_PROPERTY_DETECTION_TOLERANCE
- See Also:
-
JSON_PROPERTY_INSTANTANEOUS_BASELINE
- See Also:
-
JSON_PROPERTY_LEARNING_DURATION
- See Also:
-
JSON_PROPERTY_LEARNING_PERIOD_BASELINE
- See Also:
-
-
Constructor Details
-
SecurityMonitoringRuleAnomalyDetectionOptions
public SecurityMonitoringRuleAnomalyDetectionOptions()
-
-
Method Details
-
bucketDuration
public SecurityMonitoringRuleAnomalyDetectionOptions bucketDuration(SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration bucketDuration) -
getBucketDuration
Duration in seconds of the time buckets used to aggregate events matched by the rule. Must be greater than or equal to 300.- Returns:
- bucketDuration
-
setBucketDuration
public void setBucketDuration(SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration bucketDuration) -
detectionTolerance
public SecurityMonitoringRuleAnomalyDetectionOptions detectionTolerance(SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance detectionTolerance) -
getDetectionTolerance
@Nullable public SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance getDetectionTolerance()An optional parameter that sets how permissive anomaly detection is. Higher values require higher deviations before triggering a signal.- Returns:
- detectionTolerance
-
setDetectionTolerance
public void setDetectionTolerance(SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance detectionTolerance) -
instantaneousBaseline
public SecurityMonitoringRuleAnomalyDetectionOptions instantaneousBaseline(Boolean instantaneousBaseline) -
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
-
learningDuration
public SecurityMonitoringRuleAnomalyDetectionOptions learningDuration(SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration learningDuration) -
getLearningDuration
@Nullable public SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration getLearningDuration()Learning duration in hours. Anomaly detection waits for at least this amount of historical data before it starts evaluating.- Returns:
- learningDuration
-
setLearningDuration
public void setLearningDuration(SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration learningDuration) -
learningPeriodBaseline
public SecurityMonitoringRuleAnomalyDetectionOptions learningPeriodBaseline(Long learningPeriodBaseline) -
getLearningPeriodBaseline
An optional override baseline to apply while the rule is in the learning period. Must be greater than or equal to 0. minimum: 0- Returns:
- learningPeriodBaseline
-
setLearningPeriodBaseline
-
putAdditionalProperty
public SecurityMonitoringRuleAnomalyDetectionOptions 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:
- SecurityMonitoringRuleAnomalyDetectionOptions
-
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 SecurityMonitoringRuleAnomalyDetectionOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-