Class CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rekognition.CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty>
- Enclosing interface:
CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty
@Stability(Stable)
public static final class CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty>
A builder for
CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionId(String collectionId) faceMatchThreshold(Number faceMatchThreshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionId
@Stability(Stable) public CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty.Builder collectionId(String collectionId) - Parameters:
collectionId- The ID of a collection that contains faces that you want to search for.- Returns:
this
-
faceMatchThreshold
@Stability(Stable) public CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty.Builder faceMatchThreshold(Number faceMatchThreshold) - Parameters:
faceMatchThreshold- Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty>- Returns:
- a new instance of
CfnStreamProcessorPropsMixin.FaceSearchSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-