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