Class MergeConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.MergeConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MergeConfigurationProps>
- Enclosing interface:
MergeConfigurationProps
@Stability(Experimental)
public static final class MergeConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<MergeConfigurationProps>
A builder for
MergeConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mergeRecoveryWindow(Duration mergeRecoveryWindow) Sets the value ofMergeConfigurationProps.getMergeRecoveryWindow()networkInterface(IRouterNetworkInterface networkInterface) Sets the value ofMergeConfigurationProps.getNetworkInterface()protocols(List<? extends RouterInputProtocol> protocols) Sets the value ofMergeConfigurationProps.getProtocols()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mergeRecoveryWindow
@Stability(Experimental) public MergeConfigurationProps.Builder mergeRecoveryWindow(Duration mergeRecoveryWindow) Sets the value ofMergeConfigurationProps.getMergeRecoveryWindow()- Parameters:
mergeRecoveryWindow- Recovery window for merge operation. This parameter is required.- Returns:
this
-
networkInterface
@Stability(Experimental) public MergeConfigurationProps.Builder networkInterface(IRouterNetworkInterface networkInterface) Sets the value ofMergeConfigurationProps.getNetworkInterface()- Parameters:
networkInterface- Network interface for the Router Input. This parameter is required.- Returns:
this
-
protocols
@Stability(Experimental) public MergeConfigurationProps.Builder protocols(List<? extends RouterInputProtocol> protocols) Sets the value ofMergeConfigurationProps.getProtocols()- Parameters:
protocols- Array of exactly 2 protocol configurations for merge (must be same non-SRT protocol type). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MergeConfigurationProps>- Returns:
- a new instance of
MergeConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-