Class CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.VideoCodecSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.VideoCodecSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.VideoCodecSettingsProperty>
A builder for
CfnChannelPropsMixin.VideoCodecSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionav1Settings(CfnChannelPropsMixin.Av1SettingsProperty av1Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getAv1Settings()av1Settings(IResolvable av1Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getAv1Settings()build()Builds the configured instance.frameCaptureSettings(CfnChannelPropsMixin.FrameCaptureSettingsProperty frameCaptureSettings) frameCaptureSettings(IResolvable frameCaptureSettings) h264Settings(CfnChannelPropsMixin.H264SettingsProperty h264Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH264Settings()h264Settings(IResolvable h264Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH264Settings()h265Settings(CfnChannelPropsMixin.H265SettingsProperty h265Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH265Settings()h265Settings(IResolvable h265Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH265Settings()mpeg2Settings(CfnChannelPropsMixin.Mpeg2SettingsProperty mpeg2Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getMpeg2Settings()mpeg2Settings(IResolvable mpeg2Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getMpeg2Settings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
av1Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder av1Settings(IResolvable av1Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getAv1Settings()- Parameters:
av1Settings- the value to be set.- Returns:
this
-
av1Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder av1Settings(CfnChannelPropsMixin.Av1SettingsProperty av1Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getAv1Settings()- Parameters:
av1Settings- the value to be set.- Returns:
this
-
frameCaptureSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder frameCaptureSettings(IResolvable frameCaptureSettings) - Parameters:
frameCaptureSettings- The settings for the video codec in a frame capture output.- Returns:
this
-
frameCaptureSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder frameCaptureSettings(CfnChannelPropsMixin.FrameCaptureSettingsProperty frameCaptureSettings) - Parameters:
frameCaptureSettings- The settings for the video codec in a frame capture output.- Returns:
this
-
h264Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder h264Settings(IResolvable h264Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH264Settings()- Parameters:
h264Settings- The settings for the H.264 codec in the output.- Returns:
this
-
h264Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder h264Settings(CfnChannelPropsMixin.H264SettingsProperty h264Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH264Settings()- Parameters:
h264Settings- The settings for the H.264 codec in the output.- Returns:
this
-
h265Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder h265Settings(IResolvable h265Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH265Settings()- Parameters:
h265Settings- Settings for video encoded with the H265 codec.- Returns:
this
-
h265Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder h265Settings(CfnChannelPropsMixin.H265SettingsProperty h265Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getH265Settings()- Parameters:
h265Settings- Settings for video encoded with the H265 codec.- Returns:
this
-
mpeg2Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder mpeg2Settings(IResolvable mpeg2Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getMpeg2Settings()- Parameters:
mpeg2Settings- Settings for video encoded with the MPEG-2 codec.- Returns:
this
-
mpeg2Settings
@Stability(Stable) public CfnChannelPropsMixin.VideoCodecSettingsProperty.Builder mpeg2Settings(CfnChannelPropsMixin.Mpeg2SettingsProperty mpeg2Settings) Sets the value ofCfnChannelPropsMixin.VideoCodecSettingsProperty.getMpeg2Settings()- Parameters:
mpeg2Settings- Settings for video encoded with the MPEG-2 codec.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.VideoCodecSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.VideoCodecSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-