Class CfnSecurityProfile.MachineLearningDetectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSecurityProfile.MachineLearningDetectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfile.MachineLearningDetectionConfigProperty>
- Enclosing interface:
CfnSecurityProfile.MachineLearningDetectionConfigProperty
@Stability(Stable)
public static final class CfnSecurityProfile.MachineLearningDetectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfile.MachineLearningDetectionConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.confidenceLevel
(String confidenceLevel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
confidenceLevel
@Stability(Stable) public CfnSecurityProfile.MachineLearningDetectionConfigProperty.Builder confidenceLevel(String confidenceLevel) - 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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityProfile.MachineLearningDetectionConfigProperty>
- Returns:
- a new instance of
CfnSecurityProfile.MachineLearningDetectionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-