Class BridgeNetworkSource.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.BridgeNetworkSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BridgeNetworkSource>
- Enclosing interface:
BridgeNetworkSource
@Stability(Experimental)
public static final class BridgeNetworkSource.Builder
extends Object
implements software.amazon.jsii.Builder<BridgeNetworkSource>
A builder for
BridgeNetworkSource-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.multicastIp(String multicastIp) Sets the value ofBridgeNetworkSource.getMulticastIp()multicastSourceIp(String multicastSourceIp) Sets the value ofBridgeNetworkSource.getMulticastSourceIp()network(GatewayNetwork network) Sets the value ofBridgeNetworkSource.getNetwork()Sets the value ofBridgeNetworkSource.getPort()protocol(BridgeProtocol protocol) Sets the value ofBridgeNetworkSource.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
multicastIp
Sets the value ofBridgeNetworkSource.getMulticastIp()- Parameters:
multicastIp- The network source multicast IP. This parameter is required. Must be a valid Multicast IP address.- Returns:
this
-
network
Sets the value ofBridgeNetworkSource.getNetwork()- Parameters:
network- The gateway network this source listens on. This parameter is required. Useto create the network and pass the same instance to the gateway and to each source that uses it.invalid reference
GatewayNetwork.define- Returns:
this
-
port
Sets the value ofBridgeNetworkSource.getPort()- Parameters:
port- The network source port. This parameter is required.- Returns:
this
-
protocol
Sets the value ofBridgeNetworkSource.getProtocol()- Parameters:
protocol- The network source protocol. This parameter is required.- Returns:
this
-
multicastSourceIp
@Stability(Experimental) public BridgeNetworkSource.Builder multicastSourceIp(String multicastSourceIp) Sets the value ofBridgeNetworkSource.getMulticastSourceIp()- Parameters:
multicastSourceIp- The setting related to the multicast source. The IP address of the source for source-specific multicast (SSM).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BridgeNetworkSource>- Returns:
- a new instance of
BridgeNetworkSource - Throws:
NullPointerException- if any required attribute was not provided
-