Class CmafIngestOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.CmafIngestOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CmafIngestOutputGroupProps>
- Enclosing interface:
CmafIngestOutputGroupProps
@Stability(Experimental)
public static final class CmafIngestOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CmafIngestOutputGroupProps>
A builder for
CmafIngestOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalDestinations(List<? extends OutputDestination> additionalDestinations) Sets the value ofCmafIngestOutputGroupProps.getAdditionalDestinations()build()Builds the configured instance.captionLanguageMappings(List<? extends CmafCaptionLanguageMapping> captionLanguageMappings) Sets the value ofCmafIngestOutputGroupProps.getCaptionLanguageMappings()destinations(List<? extends OutputDestination> destinations) Sets the value ofCmafIngestOutputGroupProps.getDestinations()id3Behavior(Id3Behavior id3Behavior) Sets the value ofCmafIngestOutputGroupProps.getId3Behavior()id3NameModifier(String id3NameModifier) Sets the value ofCmafIngestOutputGroupProps.getId3NameModifier()klvBehavior(KlvBehavior klvBehavior) Sets the value ofCmafIngestOutputGroupProps.getKlvBehavior()klvNameModifier(String klvNameModifier) Sets the value ofCmafIngestOutputGroupProps.getKlvNameModifier()Sets the value ofCmafIngestOutputGroupProps.getName()nielsenId3Behavior(NielsenId3Behavior nielsenId3Behavior) Sets the value ofCmafIngestOutputGroupProps.getNielsenId3Behavior()nielsenId3NameModifier(String nielsenId3NameModifier) Sets the value ofCmafIngestOutputGroupProps.getNielsenId3NameModifier()outputs(List<? extends CmafIngestOutputDefinition> outputs) Sets the value ofCmafIngestOutputGroupProps.getOutputs()scte35NameModifier(String scte35NameModifier) Sets the value ofCmafIngestOutputGroupProps.getScte35NameModifier()scte35Type(Scte35Type scte35Type) Sets the value ofCmafIngestOutputGroupProps.getScte35Type()Sets the value ofCmafIngestOutputGroupProps.getSegment()sendDelayMs(Number sendDelayMs) Sets the value ofCmafIngestOutputGroupProps.getSendDelayMs()timedMetadataId3Frame(TimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataId3Frame()timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataId3Period()timedMetadataPassthrough(TimedMetadataPassthrough timedMetadataPassthrough) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataPassthrough()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder destinations(List<? extends OutputDestination> destinations) Sets the value ofCmafIngestOutputGroupProps.getDestinations()- Parameters:
destinations- The primary CMAF ingest destinations — 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 to utilise both pipelines for redundancy.
- Returns:
this
-
name
Sets the value ofCmafIngestOutputGroupProps.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
-
outputs
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder outputs(List<? extends CmafIngestOutputDefinition> outputs) Sets the value ofCmafIngestOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this CMAF Ingest output group. This parameter is required. Each output should contain a single encode.- Returns:
this
-
additionalDestinations
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder additionalDestinations(List<? extends OutputDestination> additionalDestinations) Sets the value ofCmafIngestOutputGroupProps.getAdditionalDestinations()- Parameters:
additionalDestinations- Configure additional destinations to fan out the CMAF ingest output to extra endpoints, for example for cross-region delivery or backup packaging. Standard channels support up to 2 additional destinations. Single pipeline channels support 1 additional destination.- Returns:
this
-
captionLanguageMappings
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder captionLanguageMappings(List<? extends CmafCaptionLanguageMapping> captionLanguageMappings) Sets the value ofCmafIngestOutputGroupProps.getCaptionLanguageMappings()- Parameters:
captionLanguageMappings- Maps captions channels to languages for this CMAF Ingest output group.- Returns:
this
-
id3Behavior
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder id3Behavior(Id3Behavior id3Behavior) Sets the value ofCmafIngestOutputGroupProps.getId3Behavior()- Parameters:
id3Behavior- The ID3 behavior for the CMAF ingest output.- Returns:
this
-
id3NameModifier
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder id3NameModifier(String id3NameModifier) Sets the value ofCmafIngestOutputGroupProps.getId3NameModifier()- Parameters:
id3NameModifier- The name modifier for ID3 metadata.- Returns:
this
-
klvBehavior
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder klvBehavior(KlvBehavior klvBehavior) Sets the value ofCmafIngestOutputGroupProps.getKlvBehavior()- Parameters:
klvBehavior- The KLV behavior for the CMAF ingest output.- Returns:
this
-
klvNameModifier
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder klvNameModifier(String klvNameModifier) Sets the value ofCmafIngestOutputGroupProps.getKlvNameModifier()- Parameters:
klvNameModifier- The name modifier for KLV metadata.- Returns:
this
-
nielsenId3Behavior
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder nielsenId3Behavior(NielsenId3Behavior nielsenId3Behavior) Sets the value ofCmafIngestOutputGroupProps.getNielsenId3Behavior()- Parameters:
nielsenId3Behavior- The Nielsen ID3 behavior for the CMAF ingest output.- Returns:
this
-
nielsenId3NameModifier
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder nielsenId3NameModifier(String nielsenId3NameModifier) Sets the value ofCmafIngestOutputGroupProps.getNielsenId3NameModifier()- Parameters:
nielsenId3NameModifier- The name modifier for Nielsen ID3 metadata.- Returns:
this
-
scte35NameModifier
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder scte35NameModifier(String scte35NameModifier) Sets the value ofCmafIngestOutputGroupProps.getScte35NameModifier()- Parameters:
scte35NameModifier- The name modifier for SCTE-35 messages.- Returns:
this
-
scte35Type
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder scte35Type(Scte35Type scte35Type) Sets the value ofCmafIngestOutputGroupProps.getScte35Type()- Parameters:
scte35Type- The SCTE-35 type for the CMAF ingest output.- Returns:
this
-
segment
Sets the value ofCmafIngestOutputGroupProps.getSegment()- Parameters:
segment- The length of each media segment.- Returns:
this
-
sendDelayMs
Sets the value ofCmafIngestOutputGroupProps.getSendDelayMs()- Parameters:
sendDelayMs- The number of milliseconds to delay the output from the second pipeline.- Returns:
this
-
timedMetadataId3Frame
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder timedMetadataId3Frame(TimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataId3Frame()- Parameters:
timedMetadataId3Frame- Indicates the ID3 frame that has the timecode.- Returns:
this
-
timedMetadataId3Period
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataId3Period()- Parameters:
timedMetadataId3Period- The timed metadata interval.- Returns:
this
-
timedMetadataPassthrough
@Stability(Experimental) public CmafIngestOutputGroupProps.Builder timedMetadataPassthrough(TimedMetadataPassthrough timedMetadataPassthrough) Sets the value ofCmafIngestOutputGroupProps.getTimedMetadataPassthrough()- Parameters:
timedMetadataPassthrough- Whether timed metadata is passed through.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CmafIngestOutputGroupProps>- Returns:
- a new instance of
CmafIngestOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-