Class RtmpOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.RtmpOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RtmpOutputGroupProps>
- Enclosing interface:
RtmpOutputGroupProps
@Stability(Experimental)
public static final class RtmpOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<RtmpOutputGroupProps>
A builder for
RtmpOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadMarkers(List<? extends RtmpAdMarkers> adMarkers) Sets the value ofRtmpOutputGroupProps.getAdMarkers()authenticationScheme(RtmpAuthenticationScheme authenticationScheme) Sets the value ofRtmpOutputGroupProps.getAuthenticationScheme()build()Builds the configured instance.cacheFullBehavior(RtmpCacheFullBehavior cacheFullBehavior) Sets the value ofRtmpOutputGroupProps.getCacheFullBehavior()cacheLength(Duration cacheLength) Sets the value ofRtmpOutputGroupProps.getCacheLength()captionData(RtmpCaptionData captionData) Sets the value ofRtmpOutputGroupProps.getCaptionData()includeFillerNalUnits(RtmpIncludeFillerNalUnits includeFillerNalUnits) Sets the value ofRtmpOutputGroupProps.getIncludeFillerNalUnits()inputLossAction(RtmpInputLossAction inputLossAction) Sets the value ofRtmpOutputGroupProps.getInputLossAction()Sets the value ofRtmpOutputGroupProps.getName()outputs(List<? extends RtmpOutputDefinition> outputs) Sets the value ofRtmpOutputGroupProps.getOutputs()restartDelay(Duration restartDelay) Sets the value ofRtmpOutputGroupProps.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofRtmpOutputGroupProps.getName()- Parameters:
name- The name of this output group. This parameter is required.- Returns:
this
-
outputs
@Stability(Experimental) public RtmpOutputGroupProps.Builder outputs(List<? extends RtmpOutputDefinition> outputs) Sets the value ofRtmpOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this RTMP output group. This parameter is required. Each output includes its own RTMP destination.- Returns:
this
-
adMarkers
@Stability(Experimental) public RtmpOutputGroupProps.Builder adMarkers(List<? extends RtmpAdMarkers> adMarkers) Sets the value ofRtmpOutputGroupProps.getAdMarkers()- Parameters:
adMarkers- Choose the ad marker type for this output group.- Returns:
this
-
authenticationScheme
@Stability(Experimental) public RtmpOutputGroupProps.Builder authenticationScheme(RtmpAuthenticationScheme authenticationScheme) Sets the value ofRtmpOutputGroupProps.getAuthenticationScheme()- Parameters:
authenticationScheme- The authentication scheme for the RTMP connection.- Returns:
this
-
cacheFullBehavior
@Stability(Experimental) public RtmpOutputGroupProps.Builder cacheFullBehavior(RtmpCacheFullBehavior cacheFullBehavior) Sets the value ofRtmpOutputGroupProps.getCacheFullBehavior()- Parameters:
cacheFullBehavior- Controls behavior when the content cache fills up.- Returns:
this
-
cacheLength
Sets the value ofRtmpOutputGroupProps.getCacheLength()- Parameters:
cacheLength- The cache length, in seconds, that is used to calculate buffer size.- Returns:
this
-
captionData
@Stability(Experimental) public RtmpOutputGroupProps.Builder captionData(RtmpCaptionData captionData) Sets the value ofRtmpOutputGroupProps.getCaptionData()- Parameters:
captionData- Controls the types of data that pass to onCaptionInfo outputs.- Returns:
this
-
includeFillerNalUnits
@Stability(Experimental) public RtmpOutputGroupProps.Builder includeFillerNalUnits(RtmpIncludeFillerNalUnits includeFillerNalUnits) Sets the value ofRtmpOutputGroupProps.getIncludeFillerNalUnits()- Parameters:
includeFillerNalUnits- Controls whether filler NAL units are included in the output.- Returns:
this
-
inputLossAction
@Stability(Experimental) public RtmpOutputGroupProps.Builder inputLossAction(RtmpInputLossAction inputLossAction) Sets the value ofRtmpOutputGroupProps.getInputLossAction()- Parameters:
inputLossAction- Controls the behavior of this RTMP group if the input becomes unavailable.- Returns:
this
-
restartDelay
Sets the value ofRtmpOutputGroupProps.getRestartDelay()- Parameters:
restartDelay- The delay before restarting after a streaming output failure. A value ofDuration.seconds(0)means never restart.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RtmpOutputGroupProps>- Returns:
- a new instance of
RtmpOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-