Class MergeFailoverOptions.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.MergeFailoverOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MergeFailoverOptions>
- Enclosing interface:
MergeFailoverOptions
@Stability(Experimental)
public static final class MergeFailoverOptions.Builder
extends Object
implements software.amazon.jsii.Builder<MergeFailoverOptions>
A builder for
MergeFailoverOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recoveryWindow(Duration recoveryWindow) Sets the value ofMergeFailoverOptions.getRecoveryWindow()Sets the value ofMergeFailoverOptions.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recoveryWindow
@Stability(Experimental) public MergeFailoverOptions.Builder recoveryWindow(Duration recoveryWindow) Sets the value ofMergeFailoverOptions.getRecoveryWindow()- Parameters:
recoveryWindow- Search window time to look for SMPTE 2022-7 packets. A larger recovery window means a longer delay in transmitting the stream, but more room for error correction. A smaller window means a shorter delay but less room for correction.Valid range: 100–15000 ms.
- Returns:
this
-
state
Sets the value ofMergeFailoverOptions.getState()- Parameters:
state- Whether failover is enabled. Set toState.DISABLEDto keep the configuration on the flow without switching failover on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MergeFailoverOptions>- Returns:
- a new instance of
MergeFailoverOptions - Throws:
NullPointerException- if any required attribute was not provided
-