Class FlowSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowSourceProps>
- Enclosing interface:
FlowSourceProps
@Stability(Experimental)
public static final class FlowSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<FlowSourceProps>
A builder for
FlowSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFlowSourceProps.getFlow()source(SourceConfiguration source) Sets the value ofFlowSourceProps.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flow
Sets the value ofFlowSourceProps.getFlow()- Parameters:
flow- The flow this source is connected to. This parameter is required. The flow must have Failover enabled to add an additional source.- Returns:
this
-
source
Sets the value ofFlowSourceProps.getSource()- Parameters:
source- Additional Source Configuration. This parameter is required. Set the source's name vianameon the configuration (e.g.SourceConfiguration.rtp({ name })). When no name is set there, one is generated from construct naming.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowSourceProps>- Returns:
- a new instance of
FlowSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-