Class CfnStreamProcessor.ConnectedHomeSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnStreamProcessor.ConnectedHomeSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessor.ConnectedHomeSettingsProperty>
- Enclosing interface:
CfnStreamProcessor.ConnectedHomeSettingsProperty
@Stability(Stable)
public static final class CfnStreamProcessor.ConnectedHomeSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessor.ConnectedHomeSettingsProperty>
A builder for
CfnStreamProcessor.ConnectedHomeSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStreamProcessor.ConnectedHomeSettingsProperty.getLabels()
minConfidence
(Number minConfidence) Sets the value ofCfnStreamProcessor.ConnectedHomeSettingsProperty.getMinConfidence()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labels
@Stability(Stable) public CfnStreamProcessor.ConnectedHomeSettingsProperty.Builder labels(List<String> labels) Sets the value ofCfnStreamProcessor.ConnectedHomeSettingsProperty.getLabels()
- Parameters:
labels
- Specifies what you want to detect in the video, such as people, packages, or pets. This parameter is required. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".- Returns:
this
-
minConfidence
@Stability(Stable) public CfnStreamProcessor.ConnectedHomeSettingsProperty.Builder minConfidence(Number minConfidence) Sets the value ofCfnStreamProcessor.ConnectedHomeSettingsProperty.getMinConfidence()
- Parameters:
minConfidence
- The minimum confidence required to label an object in the video.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamProcessor.ConnectedHomeSettingsProperty>
- Returns:
- a new instance of
CfnStreamProcessor.ConnectedHomeSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-