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 Details

    • Builder

      public Builder()
  • Method Details

    • flow

      @Stability(Experimental) public FlowSourceProps.Builder flow(IFlow flow)
      Sets the value of FlowSourceProps.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

      @Stability(Experimental) public FlowSourceProps.Builder source(SourceConfiguration source)
      Sets the value of FlowSourceProps.getSource()
      Parameters:
      source - Additional Source Configuration. This parameter is required. 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.
      Returns:
      this
    • build

      @Stability(Experimental) public FlowSourceProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<FlowSourceProps>
      Returns:
      a new instance of FlowSourceProps
      Throws:
      NullPointerException - if any required attribute was not provided