Class CfnSecurityProfile.StatisticalThresholdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSecurityProfile.StatisticalThresholdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfile.StatisticalThresholdProperty>
- Enclosing interface:
CfnSecurityProfile.StatisticalThresholdProperty
@Stability(Stable)
public static final class CfnSecurityProfile.StatisticalThresholdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfile.StatisticalThresholdProperty>
A builder for
CfnSecurityProfile.StatisticalThresholdProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSecurityProfile.StatisticalThresholdProperty.getStatistic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statistic
@Stability(Stable) public CfnSecurityProfile.StatisticalThresholdProperty.Builder statistic(String statistic) Sets the value ofCfnSecurityProfile.StatisticalThresholdProperty.getStatistic()- Parameters:
statistic- The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfile.StatisticalThresholdProperty>- Returns:
- a new instance of
CfnSecurityProfile.StatisticalThresholdProperty - Throws:
NullPointerException- if any required attribute was not provided
-