Class CfnStreamProcessor.PointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnStreamProcessor.PointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessor.PointProperty>
- Enclosing interface:
CfnStreamProcessor.PointProperty
@Stability(Stable)
public static final class CfnStreamProcessor.PointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessor.PointProperty>
A builder for
CfnStreamProcessor.PointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStreamProcessor.PointProperty.getX()Sets the value ofCfnStreamProcessor.PointProperty.getY()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
x
Sets the value ofCfnStreamProcessor.PointProperty.getX()- Parameters:
x- The value of the X coordinate for a point on aPolygon. This parameter is required.- Returns:
this
-
y
Sets the value ofCfnStreamProcessor.PointProperty.getY()- Parameters:
y- The value of the Y coordinate for a point on aPolygon. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProcessor.PointProperty>- Returns:
- a new instance of
CfnStreamProcessor.PointProperty - Throws:
NullPointerException- if any required attribute was not provided
-