Class CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.MsSmoothGroupSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.MsSmoothGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.MsSmoothGroupSettingsProperty>
A builder for
CfnChannelPropsMixin.MsSmoothGroupSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquisitionPointId(String acquisitionPointId) audioOnlyTimecodeControl(String audioOnlyTimecodeControl) build()Builds the configured instance.certificateMode(String certificateMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getCertificateMode()connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getDestination()destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getDestination()Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getEventId()eventIdMode(String eventIdMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getEventIdMode()eventStopBehavior(String eventStopBehavior) filecacheDuration(Number filecacheDuration) fragmentLength(Number fragmentLength) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getFragmentLength()inputLossAction(String inputLossAction) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getInputLossAction()numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getNumRetries()restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getRestartDelay()segmentationMode(String segmentationMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSegmentationMode()sendDelayMs(Number sendDelayMs) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSendDelayMs()sparseTrackType(String sparseTrackType) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSparseTrackType()streamManifestBehavior(String streamManifestBehavior) timestampOffset(String timestampOffset) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getTimestampOffset()timestampOffsetMode(String timestampOffsetMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acquisitionPointId
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder acquisitionPointId(String acquisitionPointId) - Parameters:
acquisitionPointId- The value of the Acquisition Point Identity element that is used in each message placed in the sparse track. Enabled only if sparseTrackType is not "none."- Returns:
this
-
audioOnlyTimecodeControl
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder audioOnlyTimecodeControl(String audioOnlyTimecodeControl) - Parameters:
audioOnlyTimecodeControl- If set to passthrough for an audio-only Microsoft Smooth output, the fragment absolute time is set to the current timecode. This option does not write timecodes to the audio elementary stream.- Returns:
this
-
certificateMode
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder certificateMode(String certificateMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getCertificateMode()- Parameters:
certificateMode- If set to verifyAuthenticity, verifies the HTTPS certificate chain to a trusted certificate authority (CA). This causes HTTPS outputs to self-signed certificates to fail.- Returns:
this
-
connectionRetryInterval
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) - Parameters:
connectionRetryInterval- The number of seconds to wait before retrying the connection to the IIS server if the connection is lost. Content is cached during this time, and the cache is delivered to the IIS server after the connection is re-established.- Returns:
this
-
destination
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getDestination()- Parameters:
destination- The Smooth Streaming publish point on an IIS server. MediaLive acts as a "Push" encoder to IIS.- Returns:
this
-
destination
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder destination(CfnChannelPropsMixin.OutputLocationRefProperty destination) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getDestination()- Parameters:
destination- The Smooth Streaming publish point on an IIS server. MediaLive acts as a "Push" encoder to IIS.- Returns:
this
-
eventId
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder eventId(String eventId) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getEventId()- Parameters:
eventId- The Microsoft Smooth channel ID that is sent to the IIS server. Specify the ID only if eventIdMode is set to useConfigured.- Returns:
this
-
eventIdMode
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder eventIdMode(String eventIdMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getEventIdMode()- Parameters:
eventIdMode- Specifies whether to send a channel ID to the IIS server. If no channel ID is sent and the same channel is used without changing the publishing point, clients might see cached video from the previous run. Options: - "useConfigured" - use the value provided in eventId - "useTimestamp" - generate and send a channel ID based on the current timestamp - "noEventId" - do not send a channel ID to the IIS server.- Returns:
this
-
eventStopBehavior
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder eventStopBehavior(String eventStopBehavior) - Parameters:
eventStopBehavior- When set to sendEos, sends an EOS signal to an IIS server when stopping the channel.- Returns:
this
-
filecacheDuration
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder filecacheDuration(Number filecacheDuration) - Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
fragmentLength
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder fragmentLength(Number fragmentLength) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getFragmentLength()- Parameters:
fragmentLength- The length, in seconds, of mp4 fragments to generate. The fragment length must be compatible with GOP size and frame rate.- Returns:
this
-
inputLossAction
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder inputLossAction(String inputLossAction) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getInputLossAction()- Parameters:
inputLossAction- A parameter that controls output group behavior on an input loss.- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
restartDelay
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getRestartDelay()- Parameters:
restartDelay- The number of seconds before initiating a restart due to output failure, due to exhausting the numRetries on one segment, or exceeding filecacheDuration.- Returns:
this
-
segmentationMode
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder segmentationMode(String segmentationMode) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSegmentationMode()- Parameters:
segmentationMode- useInputSegmentation has been deprecated. The configured segment size is always used.- Returns:
this
-
sendDelayMs
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder sendDelayMs(Number sendDelayMs) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSendDelayMs()- Parameters:
sendDelayMs- The number of milliseconds to delay the output from the second pipeline.- Returns:
this
-
sparseTrackType
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder sparseTrackType(String sparseTrackType) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getSparseTrackType()- Parameters:
sparseTrackType- If set to scte35, uses incoming SCTE-35 messages to generate a sparse track in this group of Microsoft Smooth outputs.- Returns:
this
-
streamManifestBehavior
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder streamManifestBehavior(String streamManifestBehavior) - 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(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder timestampOffset(String timestampOffset) Sets the value ofCfnChannelPropsMixin.MsSmoothGroupSettingsProperty.getTimestampOffset()- Parameters:
timestampOffset- The timestamp offset for the channel. Used only if timestampOffsetMode is set to useConfiguredOffset.- Returns:
this
-
timestampOffsetMode
@Stability(Stable) public CfnChannelPropsMixin.MsSmoothGroupSettingsProperty.Builder timestampOffsetMode(String timestampOffsetMode) - Parameters:
timestampOffsetMode- The type of timestamp date offset to use.- useEventStartDate: Use the date the channel was started as the offset - useConfiguredOffset: Use an explicitly configured date as the offset.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.MsSmoothGroupSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.MsSmoothGroupSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-