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