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