Class FlowSource.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowSource>
- Enclosing class:
FlowSource
@Stability(Experimental)
public static final class FlowSource.Builder
extends Object
implements software.amazon.jsii.Builder<FlowSource>
(experimental) A fluent builder for
FlowSource.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static FlowSource.Builder(experimental) The flow this source is connected to.source(SourceConfiguration source) (experimental) Additional Source Configuration.
-
Method Details
-
create
@Stability(Experimental) public static FlowSource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
FlowSource.Builder.
-
flow
(experimental) The flow this source is connected to.The flow must have Failover enabled to add an additional source.
- Parameters:
flow- The flow this source is connected to. This parameter is required.- Returns:
this
-
source
(experimental) Additional Source Configuration.Set the source's name via
nameon the configuration (e.g.SourceConfiguration.rtp({ name })). When no name is set there, one is generated from construct naming.- Parameters:
source- Additional Source Configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowSource>- Returns:
- a newly built instance of
FlowSource.
-