Class HlsInputSettings.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.HlsInputSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HlsInputSettings>
- Enclosing interface:
HlsInputSettings
@Stability(Experimental)
public static final class HlsInputSettings.Builder
extends Object
implements software.amazon.jsii.Builder<HlsInputSettings>
A builder for
HlsInputSettings-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofHlsInputSettings.getBandwidth()bufferSegments(Number bufferSegments) Sets the value ofHlsInputSettings.getBufferSegments()build()Builds the configured instance.Sets the value ofHlsInputSettings.getRetries()retryInterval(Duration retryInterval) Sets the value ofHlsInputSettings.getRetryInterval()scte35Source(HlsScte35Source scte35Source) Sets the value ofHlsInputSettings.getScte35Source()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bandwidth
Sets the value ofHlsInputSettings.getBandwidth()- Parameters:
bandwidth- The bandwidth to select from the HLS manifest. MediaLive chooses the rendition whose manifest bandwidth most closely matches this value.- Returns:
this
-
bufferSegments
Sets the value ofHlsInputSettings.getBufferSegments()- Parameters:
bufferSegments- When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment).- Returns:
this
-
retries
Sets the value ofHlsInputSettings.getRetries()- Parameters:
retries- Number of consecutive read failures before the input is considered unavailable.- Returns:
this
-
retryInterval
Sets the value ofHlsInputSettings.getRetryInterval()- Parameters:
retryInterval- The interval between retry attempts.- Returns:
this
-
scte35Source
Sets the value ofHlsInputSettings.getScte35Source()- Parameters:
scte35Source- The source MediaLive ingests SCTE-35 messages from — the content segments or the manifest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HlsInputSettings>- Returns:
- a new instance of
HlsInputSettings - Throws:
NullPointerException- if any required attribute was not provided
-