Class UdpOutputDefinition.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.UdpOutputDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UdpOutputDefinition>
- Enclosing interface:
UdpOutputDefinition
@Stability(Experimental)
public static final class UdpOutputDefinition.Builder
extends Object
implements software.amazon.jsii.Builder<UdpOutputDefinition>
A builder for
UdpOutputDefinition-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofUdpOutputDefinition.getBuffer()build()Builds the configured instance.encodes(List<? extends EncodeConfiguration> encodes) Sets the value ofOutputDefinition.getEncodes()fec(FecOutputSettings fec) Sets the value ofUdpOutputDefinition.getFec()m2TsSettings(M2tsSettings m2TsSettings) Sets the value ofinvalid reference
UdpOutputDefinition#getM2TsSettingsoutputName(String outputName) Sets the value ofOutputDefinition.getOutputName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buffer
Sets the value ofUdpOutputDefinition.getBuffer()- Parameters:
buffer- The output buffering (overrides group-level setting). Applied at millisecond granularity.- Returns:
this
-
fec
Sets the value ofUdpOutputDefinition.getFec()- Parameters:
fec- Forward Error Correction (FEC) settings for this output.- Returns:
this
-
m2TsSettings
Sets the value ofinvalid reference
UdpOutputDefinition#getM2TsSettings- Parameters:
m2TsSettings- MPEG-TS (M2TS) container settings for this output.- Returns:
this
-
encodes
@Stability(Experimental) public UdpOutputDefinition.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<UdpOutputDefinition>- Returns:
- a new instance of
UdpOutputDefinition - Throws:
NullPointerException- if any required attribute was not provided
-