Class CfnBridge.BridgeNetworkSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridge.BridgeNetworkSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridge.BridgeNetworkSourceProperty>
- Enclosing interface:
CfnBridge.BridgeNetworkSourceProperty
@Stability(Stable)
public static final class CfnBridge.BridgeNetworkSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridge.BridgeNetworkSourceProperty>
A builder for
CfnBridge.BridgeNetworkSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.multicastIp
(String multicastIp) Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getMulticastIp()
Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getName()
networkName
(String networkName) Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getNetworkName()
Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getPort()
Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getProtocol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
multicastIp
@Stability(Stable) public CfnBridge.BridgeNetworkSourceProperty.Builder multicastIp(String multicastIp) Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getMulticastIp()
- Parameters:
multicastIp
- The network source multicast IP. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getName()
- Parameters:
name
- The name of the network source. This parameter is required. This name is used to reference the source and must be unique among sources in this bridge.- Returns:
this
-
networkName
@Stability(Stable) public CfnBridge.BridgeNetworkSourceProperty.Builder networkName(String networkName) Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getNetworkName()
- Parameters:
networkName
- The network source's gateway network name. This parameter is required.- Returns:
this
-
port
Sets the value ofCfnBridge.BridgeNetworkSourceProperty.getPort()
- Parameters:
port
- The network source port. This parameter is required.- Returns:
this
-
protocol
Sets the value ofCfnBridge.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<CfnBridge.BridgeNetworkSourceProperty>
- Returns:
- a new instance of
CfnBridge.BridgeNetworkSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-