Class BridgeProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.BridgeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BridgeProps>
- Enclosing interface:
BridgeProps
@Stability(Experimental)
public static final class BridgeProps.Builder
extends Object
implements software.amazon.jsii.Builder<BridgeProps>
A builder for
BridgeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbridgeName(String bridgeName) Sets the value ofBridgeProps.getBridgeName()build()Builds the configured instance.config(BridgeConfiguration config) Sets the value ofBridgeProps.getConfig()Sets the value ofBridgeProps.getGateway()sourceFailoverConfig(BridgeFailoverConfig sourceFailoverConfig) Sets the value ofBridgeProps.getSourceFailoverConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
config
Sets the value ofBridgeProps.getConfig()- Parameters:
config- The bridge configuration specifying ingress or egress settings. This parameter is required.- Returns:
this
-
gateway
Sets the value ofBridgeProps.getGateway()- Parameters:
gateway- The gateway that the bridge is associated with. This parameter is required.- Returns:
this
-
bridgeName
Sets the value ofBridgeProps.getBridgeName()- Parameters:
bridgeName- The name of the bridge. Cannot be modified after the bridge is created.- Returns:
this
-
sourceFailoverConfig
@Stability(Experimental) public BridgeProps.Builder sourceFailoverConfig(BridgeFailoverConfig sourceFailoverConfig) Sets the value ofBridgeProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The source failover configuration for the bridge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BridgeProps>- Returns:
- a new instance of
BridgeProps - Throws:
NullPointerException- if any required attribute was not provided
-