Class SourceCdi.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • maxSyncBuffer

      @Stability(Experimental) public SourceCdi.Builder maxSyncBuffer(Number maxSyncBuffer)
      Parameters:
      maxSyncBuffer - The size of the buffer (in ms) to use to sync incoming source data. This parameter is required. Required by the MediaConnect service for CDI sources.
      Returns:
      this
    • mediaStreamSourceConfigurations

      @Stability(Experimental) public SourceCdi.Builder mediaStreamSourceConfigurations(List<? extends MediaStreamSourceConfigurationCdi> mediaStreamSourceConfigurations)
      Parameters:
      mediaStreamSourceConfigurations - The media stream that is associated with the source, and the parameters for that association. This parameter is required.
      Returns:
      this
    • port

      @Stability(Experimental) public SourceCdi.Builder port(Number port)
      Sets the value of SourceCdi.getPort()
      Parameters:
      port - The port that the flow will be listening on for incoming content. This parameter is required.
      Returns:
      this
    • vpcInterface

      @Stability(Experimental) public SourceCdi.Builder vpcInterface(VpcInterfaceConfig vpcInterface)
      Sets the value of SourceCdi.getVpcInterface()
      Parameters:
      vpcInterface - The VPC interface attachment to use for this bridge source. This parameter is required.
      Returns:
      this
    • flowSourceName

      @Stability(Experimental) public SourceCdi.Builder flowSourceName(String flowSourceName)
      Parameters:
      flowSourceName - The name of the source.
      Returns:
      this
    • build

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