Class SourceRtp.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • network

      @Stability(Experimental) public SourceRtp.Builder network(NetworkConfiguration network)
      Sets the value of SourceRtp.getNetwork()
      Parameters:
      network - Defines networking configuration. This parameter is required.
      Returns:
      this
    • port

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

      @Stability(Experimental) public SourceRtp.Builder maxBitrate(Bitrate maxBitrate)
      Sets the value of SourceRtp.getMaxBitrate()
      Parameters:
      maxBitrate - The maximum bitrate for RIST, RTP, and RTP-FEC streams.
      Returns:
      this
    • description

      @Stability(Experimental) public SourceRtp.Builder description(String description)
      Sets the value of SourceBase.getDescription()
      Parameters:
      description - A description of the source. This description appears only on the MediaConnect console and will not be seen by the end user.
      Returns:
      this
    • flowSourceName

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

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