Class MediaPackageV2OutputGroupBaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.MediaPackageV2OutputGroupBaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaPackageV2OutputGroupBaseProps>
- Enclosing interface:
MediaPackageV2OutputGroupBaseProps
@Stability(Experimental)
public static final class MediaPackageV2OutputGroupBaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<MediaPackageV2OutputGroupBaseProps>
A builder for
MediaPackageV2OutputGroupBaseProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalDestinations(List<? extends MediaPackageV2Destination> additionalDestinations) Sets the value ofMediaPackageV2OutputGroupBaseProps.getAdditionalDestinations()build()Builds the configured instance.captionLanguageMappings(List<? extends CaptionLanguageMapping> captionLanguageMappings) Sets the value ofMediaPackageV2OutputGroupBaseProps.getCaptionLanguageMappings()id3Behavior(Id3Behavior id3Behavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getId3Behavior()klvBehavior(KlvBehavior klvBehavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getKlvBehavior()Sets the value ofMediaPackageV2OutputGroupBaseProps.getName()nielsenId3Behavior(NielsenId3Behavior nielsenId3Behavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getNielsenId3Behavior()outputs(List<? extends MediaPackageV2OutputDefinition> outputs) Sets the value ofMediaPackageV2OutputGroupBaseProps.getOutputs()scte35Type(Scte35Type scte35Type) Sets the value ofMediaPackageV2OutputGroupBaseProps.getScte35Type()Sets the value ofMediaPackageV2OutputGroupBaseProps.getSegment()timedMetadataId3Frame(TimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataId3Frame()timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataId3Period()timedMetadataPassthrough(TimedMetadataPassthrough timedMetadataPassthrough) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataPassthrough()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofMediaPackageV2OutputGroupBaseProps.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 MediaPackageV2OutputGroupBaseProps.Builder outputs(List<? extends MediaPackageV2OutputDefinition> outputs) Sets the value ofMediaPackageV2OutputGroupBaseProps.getOutputs()- Parameters:
outputs- The outputs for this output group. This parameter is required. MediaPackage V2 uses CMAF ingest which requires one track per output. Create a separate output for each encode (e.g. one for HD video, one for SD video, one for audio). Do NOT put multiple encodes in a single output.- Returns:
this
-
additionalDestinations
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder additionalDestinations(List<? extends MediaPackageV2Destination> additionalDestinations) Sets the value ofMediaPackageV2OutputGroupBaseProps.getAdditionalDestinations()- Parameters:
additionalDestinations- Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging. These correspond to Destination 3/4 in the AWS console. Each additional destination is a single, explicit entry (channel + endpoint), independent of the channel class.- Returns:
this
-
captionLanguageMappings
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder captionLanguageMappings(List<? extends CaptionLanguageMapping> captionLanguageMappings) Sets the value ofMediaPackageV2OutputGroupBaseProps.getCaptionLanguageMappings()- Parameters:
captionLanguageMappings- Caption language mappings for the MediaPackage V2 output.- Returns:
this
-
id3Behavior
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder id3Behavior(Id3Behavior id3Behavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getId3Behavior()- Parameters:
id3Behavior- The ID3 behavior.- Returns:
this
-
klvBehavior
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder klvBehavior(KlvBehavior klvBehavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getKlvBehavior()- Parameters:
klvBehavior- The KLV behavior.- Returns:
this
-
nielsenId3Behavior
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder nielsenId3Behavior(NielsenId3Behavior nielsenId3Behavior) Sets the value ofMediaPackageV2OutputGroupBaseProps.getNielsenId3Behavior()- Parameters:
nielsenId3Behavior- The Nielsen ID3 behavior.- Returns:
this
-
scte35Type
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder scte35Type(Scte35Type scte35Type) Sets the value ofMediaPackageV2OutputGroupBaseProps.getScte35Type()- Parameters:
scte35Type- The SCTE-35 type.- Returns:
this
-
segment
Sets the value ofMediaPackageV2OutputGroupBaseProps.getSegment()- Parameters:
segment- The length of each media segment.- Returns:
this
-
timedMetadataId3Frame
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder timedMetadataId3Frame(TimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataId3Frame()- Parameters:
timedMetadataId3Frame- The timed metadata ID3 frame.- Returns:
this
-
timedMetadataId3Period
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataId3Period()- Parameters:
timedMetadataId3Period- The timed metadata interval.- Returns:
this
-
timedMetadataPassthrough
@Stability(Experimental) public MediaPackageV2OutputGroupBaseProps.Builder timedMetadataPassthrough(TimedMetadataPassthrough timedMetadataPassthrough) Sets the value ofMediaPackageV2OutputGroupBaseProps.getTimedMetadataPassthrough()- Parameters:
timedMetadataPassthrough- Whether timed metadata is passed through.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaPackageV2OutputGroupBaseProps>- Returns:
- a new instance of
MediaPackageV2OutputGroupBaseProps - Throws:
NullPointerException- if any required attribute was not provided
-