Class CfnChannel.UdpGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.UdpGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.UdpGroupSettingsProperty>
- Enclosing interface:
CfnChannel.UdpGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannel.UdpGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.UdpGroupSettingsProperty>
A builder for
CfnChannel.UdpGroupSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inputLossAction
(String inputLossAction) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getInputLossAction()
timedMetadataId3Frame
(String timedMetadataId3Frame) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getTimedMetadataId3Frame()
timedMetadataId3Period
(Number timedMetadataId3Period) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getTimedMetadataId3Period()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputLossAction
@Stability(Stable) public CfnChannel.UdpGroupSettingsProperty.Builder inputLossAction(String inputLossAction) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getInputLossAction()
- Parameters:
inputLossAction
- Specifies the behavior of the last resort when the input video is lost, and no more backup inputs are available. When dropTs is selected, the entire transport stream stops emitting. When dropProgram is selected, the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or when emitProgram is selected, the transport stream continues to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video.- Returns:
this
-
timedMetadataId3Frame
@Stability(Stable) public CfnChannel.UdpGroupSettingsProperty.Builder timedMetadataId3Frame(String timedMetadataId3Frame) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getTimedMetadataId3Frame()
- Parameters:
timedMetadataId3Frame
- Indicates the ID3 frame that has the timecode.- Returns:
this
-
timedMetadataId3Period
@Stability(Stable) public CfnChannel.UdpGroupSettingsProperty.Builder timedMetadataId3Period(Number timedMetadataId3Period) Sets the value ofCfnChannel.UdpGroupSettingsProperty.getTimedMetadataId3Period()
- Parameters:
timedMetadataId3Period
- The timed metadata interval in seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.UdpGroupSettingsProperty>
- Returns:
- a new instance of
CfnChannel.UdpGroupSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-