Class SrtOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SrtOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtOutputGroupProps>
- Enclosing interface:
SrtOutputGroupProps
@Stability(Experimental)
public static final class SrtOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<SrtOutputGroupProps>
A builder for
SrtOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputLossAction(SrtInputLossAction inputLossAction) Sets the value ofSrtOutputGroupProps.getInputLossAction()Sets the value ofSrtOutputGroupProps.getName()outputs(List<? extends SrtOutputDefinition> outputs) Sets the value ofSrtOutputGroupProps.getOutputs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofSrtOutputGroupProps.getName()- Parameters:
name- The name of this output group. This parameter is required.- Returns:
this
-
outputs
@Stability(Experimental) public SrtOutputGroupProps.Builder outputs(List<? extends SrtOutputDefinition> outputs) Sets the value ofSrtOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this SRT output group. This parameter is required. Each output includes its own SRT destination.- Returns:
this
-
inputLossAction
@Stability(Experimental) public SrtOutputGroupProps.Builder inputLossAction(SrtInputLossAction inputLossAction) Sets the value ofSrtOutputGroupProps.getInputLossAction()- Parameters:
inputLossAction- Controls the behavior of this SRT group if the input becomes unavailable.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtOutputGroupProps>- Returns:
- a new instance of
SrtOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-