Class CfnChannel.VideoPositionRectangleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.VideoPositionRectangleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.VideoPositionRectangleProperty>
- Enclosing interface:
CfnChannel.VideoPositionRectangleProperty
@Stability(Stable)
public static final class CfnChannel.VideoPositionRectangleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.VideoPositionRectangleProperty>
A builder for
CfnChannel.VideoPositionRectangleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.VideoPositionRectangleProperty.getHeight()Sets the value ofCfnChannel.VideoPositionRectangleProperty.getWidth()Sets the value ofCfnChannel.VideoPositionRectangleProperty.getX()Sets the value ofCfnChannel.VideoPositionRectangleProperty.getY()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
height
Sets the value ofCfnChannel.VideoPositionRectangleProperty.getHeight()- Parameters:
height- the value to be set.- Returns:
this
-
width
Sets the value ofCfnChannel.VideoPositionRectangleProperty.getWidth()- Parameters:
width- the value to be set.- Returns:
this
-
x
Sets the value ofCfnChannel.VideoPositionRectangleProperty.getX()- Parameters:
x- the value to be set.- Returns:
this
-
y
Sets the value ofCfnChannel.VideoPositionRectangleProperty.getY()- Parameters:
y- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.VideoPositionRectangleProperty>- Returns:
- a new instance of
CfnChannel.VideoPositionRectangleProperty - Throws:
NullPointerException- if any required attribute was not provided
-