Class NdiConfig.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • machineName

      @Stability(Experimental) public NdiConfig.Builder machineName(String machineName)
      Sets the value of NdiConfig.getMachineName()
      Parameters:
      machineName - A prefix for the names of the NDI sources that the flow creates. If a custom name isn't specified, MediaConnect generates a unique 12-character ID as the prefix.
      Returns:
      this
    • ndiDiscoveryServers

      @Stability(Experimental) public NdiConfig.Builder ndiDiscoveryServers(List<? extends NdiDiscoveryServerConfig> ndiDiscoveryServers)
      Parameters:
      ndiDiscoveryServers - Specifies the configuration settings for individual NDI discovery servers. A maximum of 3 servers is allowed.
      Returns:
      this
    • ndiState

      @Stability(Experimental) public NdiConfig.Builder ndiState(State ndiState)
      Sets the value of NdiConfig.getNdiState()
      Parameters:
      ndiState - A setting that controls whether NDI sources or outputs can be used in the flow. Must be ENABLED for the flow to support NDI sources or outputs.
      Returns:
      this
    • build

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