Class CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpGroupSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.RtmpGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpGroupSettingsProperty>
A builder for
CfnChannelPropsMixin.RtmpGroupSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getAdMarkers()authenticationScheme(String authenticationScheme) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getAuthenticationScheme()build()Builds the configured instance.cacheFullBehavior(String cacheFullBehavior) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCacheFullBehavior()cacheLength(Number cacheLength) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCacheLength()captionData(String captionData) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCaptionData()includeFillerNalUnits(String includeFillerNalUnits) inputLossAction(String inputLossAction) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getInputLossAction()restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adMarkers
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder adMarkers(List<String> adMarkers) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getAdMarkers()- Parameters:
adMarkers- Choose the ad marker type for this output group. MediaLive will create a message based on the content of each SCTE-35 message, format it for that marker type, and insert it in the datastream.- Returns:
this
-
authenticationScheme
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder authenticationScheme(String authenticationScheme) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getAuthenticationScheme()- Parameters:
authenticationScheme- An authentication scheme to use when connecting with a CDN.- Returns:
this
-
cacheFullBehavior
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder cacheFullBehavior(String cacheFullBehavior) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCacheFullBehavior()- Parameters:
cacheFullBehavior- Controls behavior when the content cache fills up. If a remote origin server stalls the RTMP connection and doesn't accept content fast enough, the media cache fills up. When the cache reaches the duration specified by cacheLength, the cache stops accepting new content. If set to disconnectImmediately, the RTMP output forces a disconnect. Clear the media cache, and reconnect after restartDelay seconds. If set to waitForServer, the RTMP output waits up to 5 minutes to allow the origin server to begin accepting data again.- Returns:
this
-
cacheLength
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder cacheLength(Number cacheLength) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCacheLength()- Parameters:
cacheLength- The cache length, in seconds, that is used to calculate buffer size.- Returns:
this
-
captionData
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder captionData(String captionData) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getCaptionData()- Parameters:
captionData- Controls the types of data that pass to onCaptionInfo outputs. If set to all, 608 and 708 carried DTVCC data is passed. If set to field1AndField2608, DTVCC data is stripped out, but 608 data from both fields is passed. If set to field1608, only the data carried in 608 from field 1 video is passed.- Returns:
this
-
includeFillerNalUnits
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder includeFillerNalUnits(String includeFillerNalUnits) - Parameters:
includeFillerNalUnits- the value to be set.- Returns:
this
-
inputLossAction
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder inputLossAction(String inputLossAction) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getInputLossAction()- Parameters:
inputLossAction- Controls the behavior of this RTMP group if the input becomes unavailable. emitOutput: Emit a slate until the input returns. pauseOutput: Stop transmitting data until the input returns. This does not close the underlying RTMP connection.- Returns:
this
-
restartDelay
@Stability(Stable) public CfnChannelPropsMixin.RtmpGroupSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.RtmpGroupSettingsProperty.getRestartDelay()- Parameters:
restartDelay- If a streaming output fails, the number of seconds to wait until a restart is initiated. A value of 0 means never restart.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpGroupSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.RtmpGroupSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-