Class UdpOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.UdpOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UdpOutputGroupProps>
- Enclosing interface:
UdpOutputGroupProps
@Stability(Experimental)
public static final class UdpOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<UdpOutputGroupProps>
A builder for
UdpOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofUdpOutputGroupProps.getBuffer()build()Builds the configured instance.destinations(List<? extends UdpOutputDestination> destinations) Sets the value ofUdpOutputGroupProps.getDestinations()inputLossAction(UdpInputLossAction inputLossAction) Sets the value ofUdpOutputGroupProps.getInputLossAction()Sets the value ofUdpOutputGroupProps.getName()outputs(List<? extends UdpOutputDefinition> outputs) Sets the value ofUdpOutputGroupProps.getOutputs()timedMetadataId3Frame(UdpTimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofUdpOutputGroupProps.getTimedMetadataId3Frame()timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofUdpOutputGroupProps.getTimedMetadataId3Period()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public UdpOutputGroupProps.Builder destinations(List<? extends UdpOutputDestination> destinations) Sets the value ofUdpOutputGroupProps.getDestinations()- Parameters:
destinations- The destinations for this output group — 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.
- Returns:
this
-
name
Sets the value ofUdpOutputGroupProps.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
-
buffer
Sets the value ofUdpOutputGroupProps.getBuffer()- Parameters:
buffer- The output buffering. Applied at millisecond granularity.- Returns:
this
-
inputLossAction
@Stability(Experimental) public UdpOutputGroupProps.Builder inputLossAction(UdpInputLossAction inputLossAction) Sets the value ofUdpOutputGroupProps.getInputLossAction()- Parameters:
inputLossAction- Action to take when the input is lost.- Returns:
this
-
outputs
@Stability(Experimental) public UdpOutputGroupProps.Builder outputs(List<? extends UdpOutputDefinition> outputs) Sets the value ofUdpOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this UDP output group.- Returns:
this
-
timedMetadataId3Frame
@Stability(Experimental) public UdpOutputGroupProps.Builder timedMetadataId3Frame(UdpTimedMetadataId3Frame timedMetadataId3Frame) Sets the value ofUdpOutputGroupProps.getTimedMetadataId3Frame()- Parameters:
timedMetadataId3Frame- Indicates the ID3 frame that has the timecode.- Returns:
this
-
timedMetadataId3Period
@Stability(Experimental) public UdpOutputGroupProps.Builder timedMetadataId3Period(Duration timedMetadataId3Period) Sets the value ofUdpOutputGroupProps.getTimedMetadataId3Period()- Parameters:
timedMetadataId3Period- The timed metadata interval.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UdpOutputGroupProps>- Returns:
- a new instance of
UdpOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-