Class CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.InputSwitchConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.InputSwitchConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.InputSwitchConfigurationProperty>
A builder for
CfnChannelPropsMixin.InputSwitchConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mqcsInputSwitching(Boolean mqcsInputSwitching) mqcsInputSwitching(IResolvable mqcsInputSwitching) preferredInput(Number preferredInput)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mqcsInputSwitching
@Stability(Stable) public CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder mqcsInputSwitching(Boolean mqcsInputSwitching) - Parameters:
mqcsInputSwitching- When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is false. This setting is valid only whenInputTypeisCMAF.- Returns:
this
-
mqcsInputSwitching
@Stability(Stable) public CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder mqcsInputSwitching(IResolvable mqcsInputSwitching) - Parameters:
mqcsInputSwitching- When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is false. This setting is valid only whenInputTypeisCMAF.- Returns:
this
-
preferredInput
@Stability(Stable) public CfnChannelPropsMixin.InputSwitchConfigurationProperty.Builder preferredInput(Number preferredInput) - Parameters:
preferredInput- For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores. Select1to prefer the first ingest endpoint, or2to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.InputSwitchConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.InputSwitchConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-