@Stability(value=Stable) public static final class CfnSecurityProfile.BehaviorCriteriaProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSecurityProfile.BehaviorCriteriaProperty>
CfnSecurityProfile.BehaviorCriteriaProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder comparisonOperator(String comparisonOperator)
CfnSecurityProfile.BehaviorCriteriaProperty.getComparisonOperator()comparisonOperator - The operator that relates the thing measured ( `metric` ) to the criteria (containing a `value` or `statisticalThreshold` ).
Valid operators include:
string-list : in-set and not-in-setnumber-list : in-set and not-in-setip-address-list : in-cidr-set and not-in-cidr-setnumber : less-than , less-than-equals , greater-than , and greater-than-equalsthis@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder consecutiveDatapointsToAlarm(Number consecutiveDatapointsToAlarm)
consecutiveDatapointsToAlarm - If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs.
If not specified, the default is 1.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder consecutiveDatapointsToClear(Number consecutiveDatapointsToClear)
consecutiveDatapointsToClear - If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared.
If not specified, the default is 1.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder durationSeconds(Number durationSeconds)
CfnSecurityProfile.BehaviorCriteriaProperty.getDurationSeconds()durationSeconds - Use this to specify the time duration over which the behavior is evaluated, for those criteria that have a time dimension (for example, `NUM_MESSAGES_SENT` ).
For a statisticalThreshhold metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank. Cannot be used with list-based metric datatypes.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder mlDetectionConfig(CfnSecurityProfile.MachineLearningDetectionConfigProperty mlDetectionConfig)
CfnSecurityProfile.BehaviorCriteriaProperty.getMlDetectionConfig()mlDetectionConfig - The confidence level of the detection model.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder mlDetectionConfig(IResolvable mlDetectionConfig)
CfnSecurityProfile.BehaviorCriteriaProperty.getMlDetectionConfig()mlDetectionConfig - The confidence level of the detection model.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder statisticalThreshold(CfnSecurityProfile.StatisticalThresholdProperty statisticalThreshold)
CfnSecurityProfile.BehaviorCriteriaProperty.getStatisticalThreshold()statisticalThreshold - A statistical ranking (percentile)that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder statisticalThreshold(IResolvable statisticalThreshold)
CfnSecurityProfile.BehaviorCriteriaProperty.getStatisticalThreshold()statisticalThreshold - A statistical ranking (percentile)that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder value(CfnSecurityProfile.MetricValueProperty value)
CfnSecurityProfile.BehaviorCriteriaProperty.getValue()value - The value to be compared with the `metric` .this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty.Builder value(IResolvable value)
CfnSecurityProfile.BehaviorCriteriaProperty.getValue()value - The value to be compared with the `metric` .this@Stability(value=Stable) public CfnSecurityProfile.BehaviorCriteriaProperty build()
build in interface software.amazon.jsii.Builder<CfnSecurityProfile.BehaviorCriteriaProperty>CfnSecurityProfile.BehaviorCriteriaPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.