Class SrtOutputDefinition.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SrtOutputDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtOutputDefinition>
- Enclosing interface:
SrtOutputDefinition
@Stability(Experimental)
public static final class SrtOutputDefinition.Builder
extends Object
implements software.amazon.jsii.Builder<SrtOutputDefinition>
A builder for
SrtOutputDefinition-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofSrtOutputDefinition.getBuffer()build()Builds the configured instance.destinations(List<? extends SrtDestination> destinations) Sets the value ofSrtOutputDefinition.getDestinations()encodes(List<? extends EncodeConfiguration> encodes) Sets the value ofOutputDefinition.getEncodes()encryptionType(SrtEncryptionType encryptionType) Sets the value ofSrtOutputDefinition.getEncryptionType()Sets the value ofSrtOutputDefinition.getLatency()m2TsSettings(M2tsSettings m2TsSettings) Sets the value ofinvalid reference
SrtOutputDefinition#getM2TsSettingsoutputName(String outputName) Sets the value ofOutputDefinition.getOutputName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public SrtOutputDefinition.Builder destinations(List<? extends SrtDestination> destinations) Sets the value ofSrtOutputDefinition.getDestinations()- Parameters:
destinations- The SRT destination(s) for this output — one per channel pipeline. This parameter is required. MediaLive publishes each SRT output to one destination per pipeline (the console calls these "Destination A" and "Destination B"). Provide a single destination for aSINGLE_PIPELINEchannel, or two (A then B) for aSTANDARDchannel. Each pipeline can target a different listener and carry its own encryption passphrase.- Returns:
this
-
buffer
Sets the value ofSrtOutputDefinition.getBuffer()- Parameters:
buffer- The output buffering. Applied at millisecond granularity.- Returns:
this
-
encryptionType
@Stability(Experimental) public SrtOutputDefinition.Builder encryptionType(SrtEncryptionType encryptionType) Sets the value ofSrtOutputDefinition.getEncryptionType()- Parameters:
encryptionType- The encryption type for the SRT output.- Returns:
this
-
latency
Sets the value ofSrtOutputDefinition.getLatency()- Parameters:
latency- The SRT latency.- Returns:
this
-
m2TsSettings
Sets the value ofinvalid reference
SrtOutputDefinition#getM2TsSettings- Parameters:
m2TsSettings- MPEG-TS (M2TS) container settings for this output.- Returns:
this
-
encodes
@Stability(Experimental) public SrtOutputDefinition.Builder encodes(List<? extends EncodeConfiguration> encodes) Sets the value ofOutputDefinition.getEncodes()- Parameters:
encodes- The encode configurations to wire to this output. This parameter is required.- Returns:
this
-
outputName
Sets the value ofOutputDefinition.getOutputName()- Parameters:
outputName- The name of this output. This parameter is required. Must be unique across all outputs in the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtOutputDefinition>- Returns:
- a new instance of
SrtOutputDefinition - Throws:
NullPointerException- if any required attribute was not provided
-