Class CfnChannelPropsMixin.HlsInputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.HlsInputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsInputSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.HlsInputSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.HlsInputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsInputSettingsProperty>
A builder for
CfnChannelPropsMixin.HlsInputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getBandwidth()bufferSegments(Number bufferSegments) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getBufferSegments()build()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getRetries()retryInterval(Number retryInterval) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getRetryInterval()scte35Source(String scte35Source) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getScte35Source()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bandwidth
@Stability(Stable) public CfnChannelPropsMixin.HlsInputSettingsProperty.Builder bandwidth(Number bandwidth) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getBandwidth()- Parameters:
bandwidth- When specified, the HLS stream with the m3u8 bandwidth that most closely matches this value is chosen. Otherwise, the highest bandwidth stream in the m3u8 is chosen. The bitrate is specified in bits per second, as in an HLS manifest.- Returns:
this
-
bufferSegments
@Stability(Stable) public CfnChannelPropsMixin.HlsInputSettingsProperty.Builder bufferSegments(Number bufferSegments) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getBufferSegments()- Parameters:
bufferSegments- When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment). When not specified, the HLS input begins with the first segment specified in the m3u8.- Returns:
this
-
retries
@Stability(Stable) public CfnChannelPropsMixin.HlsInputSettingsProperty.Builder retries(Number retries) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getRetries()- Parameters:
retries- The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.- Returns:
this
-
retryInterval
@Stability(Stable) public CfnChannelPropsMixin.HlsInputSettingsProperty.Builder retryInterval(Number retryInterval) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getRetryInterval()- Parameters:
retryInterval- The number of seconds between retries when an attempt to read a manifest or segment fails.- Returns:
this
-
scte35Source
@Stability(Stable) public CfnChannelPropsMixin.HlsInputSettingsProperty.Builder scte35Source(String scte35Source) Sets the value ofCfnChannelPropsMixin.HlsInputSettingsProperty.getScte35Source()- Parameters:
scte35Source- Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.HlsInputSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.HlsInputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-