Class FlowProps.Builder

java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<FlowProps>
Enclosing interface:
FlowProps

@Stability(Experimental) public static final class FlowProps.Builder extends Object implements software.amazon.jsii.Builder<FlowProps>
A builder for FlowProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • source

      @Stability(Experimental) public FlowProps.Builder source(SourceConfiguration source)
      Sets the value of FlowProps.getSource()
      Parameters:
      source - The settings for the source that you want to use for the new flow. This parameter is required.
      Returns:
      this
    • availabilityZone

      @Stability(Experimental) public FlowProps.Builder availabilityZone(String availabilityZone)
      Parameters:
      availabilityZone - The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
      Returns:
      this
    • encodingConfig

      @Stability(Experimental) public FlowProps.Builder encodingConfig(EncodingConfig encodingConfig)
      Parameters:
      encodingConfig - Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution. Required when the flow source uses the NDI SpeedHQ protocol (see
      invalid reference
      SourceConfiguration.ndi
      ).
      Returns:
      this
    • flowName

      @Stability(Experimental) public FlowProps.Builder flowName(String flowName)
      Sets the value of FlowProps.getFlowName()
      Parameters:
      flowName - The name of the flow.
      Returns:
      this
    • flowSize

      @Stability(Experimental) public FlowProps.Builder flowSize(FlowSize flowSize)
      Sets the value of FlowProps.getFlowSize()
      Parameters:
      flowSize - Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.
      Returns:
      this
    • maintenance

      @Stability(Experimental) public FlowProps.Builder maintenance(MaintenanceWindow maintenance)
      Sets the value of FlowProps.getMaintenance()
      Parameters:
      maintenance - The maintenance window for the flow.
      Returns:
      this
    • mediaStreams

      @Stability(Experimental) public FlowProps.Builder mediaStreams(List<? extends MediaStream> mediaStreams)
      Sets the value of FlowProps.getMediaStreams()
      Parameters:
      mediaStreams - The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.
      Returns:
      this
    • ndiConfig

      @Stability(Experimental) public FlowProps.Builder ndiConfig(NdiConfig ndiConfig)
      Sets the value of FlowProps.getNdiConfig()
      Parameters:
      ndiConfig - Specifies the configuration settings for a flow's NDI source or output. Required when the flow includes an NDI source or output.
      Returns:
      this
    • sourceFailoverConfig

      @Stability(Experimental) public FlowProps.Builder sourceFailoverConfig(FailoverConfig sourceFailoverConfig)
      Parameters:
      sourceFailoverConfig - The settings for source failover.
      Returns:
      this
    • sourceMonitoringConfig

      @Stability(Experimental) public FlowProps.Builder sourceMonitoringConfig(SourceMonitoringConfig sourceMonitoringConfig)
      Parameters:
      sourceMonitoringConfig - The settings for source monitoring.
      Returns:
      this
    • vpcInterfaces

      @Stability(Experimental) public FlowProps.Builder vpcInterfaces(List<? extends VpcInterfaceConfig> vpcInterfaces)
      Parameters:
      vpcInterfaces - The VPC Interfaces for this flow. Use this instead of the FlowVpcInterface construct.
      Returns:
      this
    • build

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