Class CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty>
- Enclosing interface:
CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty
@Stability(Stable)
public static final class CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.confidenceLevel(String confidenceLevel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
confidenceLevel
@Stability(Stable) public CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty.Builder confidenceLevel(String confidenceLevel) Sets the value ofCfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty.getConfidenceLevel()- Parameters:
confidenceLevel- The model confidence level. There are three levels of confidence,"high","medium", and"low".The higher the confidence level, the lower the sensitivity, and the lower the alarm frequency will be.
- Returns:
this
-
build
@Stability(Stable) public CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty>- Returns:
- a new instance of
CfnSecurityProfilePropsMixin.MachineLearningDetectionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-