Class CfnBridgeSource.BridgeNetworkSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridgeSource.BridgeNetworkSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridgeSource.BridgeNetworkSourceProperty>
- Enclosing interface:
CfnBridgeSource.BridgeNetworkSourceProperty
@Stability(Stable)
public static final class CfnBridgeSource.BridgeNetworkSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridgeSource.BridgeNetworkSourceProperty>
A builder for
CfnBridgeSource.BridgeNetworkSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.multicastIp
(String multicastIp) Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getMulticastIp()
networkName
(String networkName) Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getNetworkName()
Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getPort()
Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
multicastIp
@Stability(Stable) public CfnBridgeSource.BridgeNetworkSourceProperty.Builder multicastIp(String multicastIp) Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getMulticastIp()
- Parameters:
multicastIp
- The network source multicast IP. This parameter is required.- Returns:
this
-
networkName
@Stability(Stable) public CfnBridgeSource.BridgeNetworkSourceProperty.Builder networkName(String networkName) Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getNetworkName()
- Parameters:
networkName
- The network source's gateway network name. This parameter is required.- Returns:
this
-
port
Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getPort()
- Parameters:
port
- The network source port. This parameter is required.- Returns:
this
-
protocol
@Stability(Stable) public CfnBridgeSource.BridgeNetworkSourceProperty.Builder protocol(String protocol) Sets the value ofCfnBridgeSource.BridgeNetworkSourceProperty.getProtocol()
- Parameters:
protocol
- The network source protocol. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBridgeSource.BridgeNetworkSourceProperty>
- Returns:
- a new instance of
CfnBridgeSource.BridgeNetworkSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-