Class CfnStreamProcessor.BoundingBoxProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnStreamProcessor.BoundingBoxProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessor.BoundingBoxProperty>
- Enclosing interface:
CfnStreamProcessor.BoundingBoxProperty
@Stability(Stable)
public static final class CfnStreamProcessor.BoundingBoxProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessor.BoundingBoxProperty>
A builder for
CfnStreamProcessor.BoundingBoxProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getHeight()Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getLeft()Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getTop()Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
height
Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getHeight()- Parameters:
height- Height of the bounding box as a ratio of the overall image height. This parameter is required.- Returns:
this
-
left
Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getLeft()- Parameters:
left- Left coordinate of the bounding box as a ratio of overall image width. This parameter is required.- Returns:
this
-
top
Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getTop()- Parameters:
top- Top coordinate of the bounding box as a ratio of overall image height. This parameter is required.- Returns:
this
-
width
Sets the value ofCfnStreamProcessor.BoundingBoxProperty.getWidth()- Parameters:
width- Width of the bounding box as a ratio of the overall image width. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProcessor.BoundingBoxProperty>- Returns:
- a new instance of
CfnStreamProcessor.BoundingBoxProperty - Throws:
NullPointerException- if any required attribute was not provided
-