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 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

      @Stability(Experimental) public FlowSource.Builder flow(IFlow 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

      @Stability(Experimental) public FlowSource.Builder source(SourceConfiguration source)
      (experimental) Additional Source Configuration.

      Set the source's name via name on 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

      @Stability(Experimental) public FlowSource build()
      Specified by:
      build in interface software.amazon.jsii.Builder<FlowSource>
      Returns:
      a newly built instance of FlowSource.