Class CfnEncoderConfigurationPropsMixin.VideoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ivs.CfnEncoderConfigurationPropsMixin.VideoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncoderConfigurationPropsMixin.VideoProperty>
- Enclosing interface:
CfnEncoderConfigurationPropsMixin.VideoProperty
@Stability(Stable)
public static final class CfnEncoderConfigurationPropsMixin.VideoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncoderConfigurationPropsMixin.VideoProperty>
A builder for
CfnEncoderConfigurationPropsMixin.VideoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getBitrate()build()Builds the configured instance.Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getFramerate()Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getHeight()Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bitrate
@Stability(Stable) public CfnEncoderConfigurationPropsMixin.VideoProperty.Builder bitrate(Number bitrate) Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getBitrate()- Parameters:
bitrate- Bitrate for generated output, in bps. Default: 2500000.- Returns:
this
-
framerate
@Stability(Stable) public CfnEncoderConfigurationPropsMixin.VideoProperty.Builder framerate(Number framerate) Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getFramerate()- Parameters:
framerate- Video frame rate, in fps. Default: 30.- Returns:
this
-
height
@Stability(Stable) public CfnEncoderConfigurationPropsMixin.VideoProperty.Builder height(Number height) Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getHeight()- Parameters:
height- Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.- Returns:
this
-
width
@Stability(Stable) public CfnEncoderConfigurationPropsMixin.VideoProperty.Builder width(Number width) Sets the value ofCfnEncoderConfigurationPropsMixin.VideoProperty.getWidth()- Parameters:
width- Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEncoderConfigurationPropsMixin.VideoProperty>- Returns:
- a new instance of
CfnEncoderConfigurationPropsMixin.VideoProperty - Throws:
NullPointerException- if any required attribute was not provided
-