Class MsSmoothOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.MsSmoothOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MsSmoothOutputGroupProps>
- Enclosing interface:
MsSmoothOutputGroupProps
@Stability(Experimental)
public static final class MsSmoothOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<MsSmoothOutputGroupProps>
A builder for
MsSmoothOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquisitionPointId(String acquisitionPointId) Sets the value ofMsSmoothOutputGroupProps.getAcquisitionPointId()audioOnlyTimecodeControl(MsSmoothAudioOnlyTimecodeControl audioOnlyTimecodeControl) Sets the value ofMsSmoothOutputGroupProps.getAudioOnlyTimecodeControl()build()Builds the configured instance.certificateMode(MsSmoothCertificateMode certificateMode) Sets the value ofMsSmoothOutputGroupProps.getCertificateMode()connectionRetryInterval(Duration connectionRetryInterval) Sets the value ofMsSmoothOutputGroupProps.getConnectionRetryInterval()destinations(List<? extends OutputDestination> destinations) Sets the value ofMsSmoothOutputGroupProps.getDestinations()Sets the value ofMsSmoothOutputGroupProps.getEventId()eventIdMode(MsSmoothEventIdMode eventIdMode) Sets the value ofMsSmoothOutputGroupProps.getEventIdMode()eventStopBehavior(MsSmoothEventStopBehavior eventStopBehavior) Sets the value ofMsSmoothOutputGroupProps.getEventStopBehavior()filecacheDuration(Duration filecacheDuration) Sets the value ofMsSmoothOutputGroupProps.getFilecacheDuration()fragmentLength(Duration fragmentLength) Sets the value ofMsSmoothOutputGroupProps.getFragmentLength()inputLossAction(MsSmoothInputLossAction inputLossAction) Sets the value ofMsSmoothOutputGroupProps.getInputLossAction()Sets the value ofMsSmoothOutputGroupProps.getName()numRetries(Number numRetries) Sets the value ofMsSmoothOutputGroupProps.getNumRetries()outputs(List<? extends MsSmoothOutputDefinition> outputs) Sets the value ofMsSmoothOutputGroupProps.getOutputs()restartDelay(Duration restartDelay) Sets the value ofMsSmoothOutputGroupProps.getRestartDelay()segmentationMode(MsSmoothSegmentationMode segmentationMode) Sets the value ofMsSmoothOutputGroupProps.getSegmentationMode()sendDelayMs(Number sendDelayMs) Sets the value ofMsSmoothOutputGroupProps.getSendDelayMs()sparseTrackType(MsSmoothSparseTrackType sparseTrackType) Sets the value ofMsSmoothOutputGroupProps.getSparseTrackType()streamManifestBehavior(MsSmoothStreamManifestBehavior streamManifestBehavior) Sets the value ofMsSmoothOutputGroupProps.getStreamManifestBehavior()timestampOffset(String timestampOffset) Sets the value ofMsSmoothOutputGroupProps.getTimestampOffset()timestampOffsetMode(MsSmoothTimestampOffsetMode timestampOffsetMode) Sets the value ofMsSmoothOutputGroupProps.getTimestampOffsetMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder destinations(List<? extends OutputDestination> destinations) Sets the value ofMsSmoothOutputGroupProps.getDestinations()- Parameters:
destinations- The destinations for this output group — one per pipeline. This parameter is required. Array position determines the pipeline mapping:destinations[0]→ Pipeline 0destinations[1]→ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
- Returns:
this
-
name
Sets the value ofMsSmoothOutputGroupProps.getName()- Parameters:
name- The name of this output group. This parameter is required. Used as the destination reference ID. Underscores are normalised to hyphens internally.- Returns:
this
-
acquisitionPointId
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder acquisitionPointId(String acquisitionPointId) Sets the value ofMsSmoothOutputGroupProps.getAcquisitionPointId()- Parameters:
acquisitionPointId- The value of the Acquisition Point Identity element used in each message placed in the sparse track.- Returns:
this
-
audioOnlyTimecodeControl
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder audioOnlyTimecodeControl(MsSmoothAudioOnlyTimecodeControl audioOnlyTimecodeControl) Sets the value ofMsSmoothOutputGroupProps.getAudioOnlyTimecodeControl()- Parameters:
audioOnlyTimecodeControl- If set to passthrough for an audio-only output, the fragment absolute time is set to the current timecode.- Returns:
this
-
certificateMode
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder certificateMode(MsSmoothCertificateMode certificateMode) Sets the value ofMsSmoothOutputGroupProps.getCertificateMode()- Parameters:
certificateMode- If set to VERIFY_AUTHENTICITY, verifies the HTTPS certificate chain to a trusted CA.- Returns:
this
-
connectionRetryInterval
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder connectionRetryInterval(Duration connectionRetryInterval) Sets the value ofMsSmoothOutputGroupProps.getConnectionRetryInterval()- Parameters:
connectionRetryInterval- The number of seconds to wait before retrying the connection to the IIS server if the connection is lost.- Returns:
this
-
eventId
Sets the value ofMsSmoothOutputGroupProps.getEventId()- Parameters:
eventId- The Microsoft Smooth channel ID that is sent to the IIS server.- Returns:
this
-
eventIdMode
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder eventIdMode(MsSmoothEventIdMode eventIdMode) Sets the value ofMsSmoothOutputGroupProps.getEventIdMode()- Parameters:
eventIdMode- Specifies whether to send a channel ID to the IIS server.- Returns:
this
-
eventStopBehavior
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder eventStopBehavior(MsSmoothEventStopBehavior eventStopBehavior) Sets the value ofMsSmoothOutputGroupProps.getEventStopBehavior()- Parameters:
eventStopBehavior- When set to SEND_EOS, sends an EOS signal to an IIS server when stopping the channel.- Returns:
this
-
filecacheDuration
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder filecacheDuration(Duration filecacheDuration) Sets the value ofMsSmoothOutputGroupProps.getFilecacheDuration()- Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
fragmentLength
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder fragmentLength(Duration fragmentLength) Sets the value ofMsSmoothOutputGroupProps.getFragmentLength()- Parameters:
fragmentLength- The length, in seconds, of mp4 fragments to generate.- Returns:
this
-
inputLossAction
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder inputLossAction(MsSmoothInputLossAction inputLossAction) Sets the value ofMsSmoothOutputGroupProps.getInputLossAction()- Parameters:
inputLossAction- A parameter that controls output group behavior on an input loss.- Returns:
this
-
numRetries
Sets the value ofMsSmoothOutputGroupProps.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
outputs
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder outputs(List<? extends MsSmoothOutputDefinition> outputs) Sets the value ofMsSmoothOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this MS Smooth output group.- Returns:
this
-
restartDelay
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder restartDelay(Duration restartDelay) Sets the value ofMsSmoothOutputGroupProps.getRestartDelay()- Parameters:
restartDelay- The number of seconds before initiating a restart due to output failure.- Returns:
this
-
segmentationMode
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder segmentationMode(MsSmoothSegmentationMode segmentationMode) Sets the value ofMsSmoothOutputGroupProps.getSegmentationMode()- Parameters:
segmentationMode- The segmentation mode.- Returns:
this
-
sendDelayMs
Sets the value ofMsSmoothOutputGroupProps.getSendDelayMs()- Parameters:
sendDelayMs- The number of milliseconds to delay the output from the second pipeline.- Returns:
this
-
sparseTrackType
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder sparseTrackType(MsSmoothSparseTrackType sparseTrackType) Sets the value ofMsSmoothOutputGroupProps.getSparseTrackType()- Parameters:
sparseTrackType- If set to SCTE_35, uses incoming SCTE-35 messages to generate a sparse track.- Returns:
this
-
streamManifestBehavior
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder streamManifestBehavior(MsSmoothStreamManifestBehavior streamManifestBehavior) Sets the value ofMsSmoothOutputGroupProps.getStreamManifestBehavior()- Parameters:
streamManifestBehavior- When set to SEND, sends a stream manifest so that the publishing point doesn't start until all streams start.- Returns:
this
-
timestampOffset
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder timestampOffset(String timestampOffset) Sets the value ofMsSmoothOutputGroupProps.getTimestampOffset()- Parameters:
timestampOffset- The timestamp offset for the channel. Used only if timestampOffsetMode is set to USE_CONFIGURED_OFFSET.- Returns:
this
-
timestampOffsetMode
@Stability(Experimental) public MsSmoothOutputGroupProps.Builder timestampOffsetMode(MsSmoothTimestampOffsetMode timestampOffsetMode) Sets the value ofMsSmoothOutputGroupProps.getTimestampOffsetMode()- Parameters:
timestampOffsetMode- The type of timestamp date offset to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MsSmoothOutputGroupProps>- Returns:
- a new instance of
MsSmoothOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-