Class CfnChannel.FailoverConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.FailoverConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.FailoverConditionProperty>
- Enclosing interface:
CfnChannel.FailoverConditionProperty
@Stability(Stable)
public static final class CfnChannel.FailoverConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.FailoverConditionProperty>
A builder for
CfnChannel.FailoverConditionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.failoverConditionSettings
(IResolvable failoverConditionSettings) Sets the value ofCfnChannel.FailoverConditionProperty.getFailoverConditionSettings()
failoverConditionSettings
(CfnChannel.FailoverConditionSettingsProperty failoverConditionSettings) Sets the value ofCfnChannel.FailoverConditionProperty.getFailoverConditionSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failoverConditionSettings
@Stability(Stable) public CfnChannel.FailoverConditionProperty.Builder failoverConditionSettings(IResolvable failoverConditionSettings) Sets the value ofCfnChannel.FailoverConditionProperty.getFailoverConditionSettings()
- Parameters:
failoverConditionSettings
- Settings for a specific failover condition.- Returns:
this
-
failoverConditionSettings
@Stability(Stable) public CfnChannel.FailoverConditionProperty.Builder failoverConditionSettings(CfnChannel.FailoverConditionSettingsProperty failoverConditionSettings) Sets the value ofCfnChannel.FailoverConditionProperty.getFailoverConditionSettings()
- Parameters:
failoverConditionSettings
- Settings for a specific failover condition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.FailoverConditionProperty>
- Returns:
- a new instance of
CfnChannel.FailoverConditionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-