Class BridgeNetworkOutputProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.BridgeNetworkOutputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BridgeNetworkOutputProps>
- Enclosing interface:
BridgeNetworkOutputProps
@Stability(Experimental)
public static final class BridgeNetworkOutputProps.Builder
extends Object
implements software.amazon.jsii.Builder<BridgeNetworkOutputProps>
A builder for
BridgeNetworkOutputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofBridgeNetworkOutputProps.getIpAddress()network(GatewayNetwork network) Sets the value ofBridgeNetworkOutputProps.getNetwork()Sets the value ofBridgeNetworkOutputProps.getPort()protocol(BridgeProtocol protocol) Sets the value ofBridgeNetworkOutputProps.getProtocol()Sets the value ofBridgeNetworkOutputProps.getTtl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipAddress
Sets the value ofBridgeNetworkOutputProps.getIpAddress()- Parameters:
ipAddress- The IP address where the output will send content. This parameter is required.- Returns:
this
-
network
Sets the value ofBridgeNetworkOutputProps.getNetwork()- Parameters:
network- The gateway network this output sends content out of. This parameter is required. Useto create the network and pass the same instance to the gateway and to each output that uses it.invalid reference
GatewayNetwork.define- Returns:
this
-
port
Sets the value ofBridgeNetworkOutputProps.getPort()- Parameters:
port- The port to use for the output. This parameter is required.- Returns:
this
-
protocol
Sets the value ofBridgeNetworkOutputProps.getProtocol()- Parameters:
protocol- The protocol to use for the output. This parameter is required.- Returns:
this
-
ttl
Sets the value ofBridgeNetworkOutputProps.getTtl()- Parameters:
ttl- Time to live (TTL) for the output packets in hops (1-255). This parameter is required. TTL represents the maximum number of network hops a packet can traverse before being discarded.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BridgeNetworkOutputProps>- Returns:
- a new instance of
BridgeNetworkOutputProps - Throws:
NullPointerException- if any required attribute was not provided
-