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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.machineName(String machineName) Sets the value ofNdiConfig.getMachineName()ndiDiscoveryServers(List<? extends NdiDiscoveryServerConfig> ndiDiscoveryServers) Sets the value ofNdiConfig.getNdiDiscoveryServers()Sets the value ofNdiConfig.getNdiState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
machineName
Sets the value ofNdiConfig.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) Sets the value ofNdiConfig.getNdiDiscoveryServers()- Parameters:
ndiDiscoveryServers- Specifies the configuration settings for individual NDI discovery servers. A maximum of 3 servers is allowed.- Returns:
this
-
ndiState
Sets the value ofNdiConfig.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NdiConfig>- Returns:
- a new instance of
NdiConfig - Throws:
NullPointerException- if any required attribute was not provided
-