Class CfnChannel.InputSwitchConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannel.InputSwitchConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputSwitchConfigurationProperty>
- Enclosing interface:
CfnChannel.InputSwitchConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.InputSwitchConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputSwitchConfigurationProperty>
A builder for
CfnChannel.InputSwitchConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mqcsInputSwitching(Boolean mqcsInputSwitching) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getMqcsInputSwitching()mqcsInputSwitching(IResolvable mqcsInputSwitching) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getMqcsInputSwitching()preferredInput(Number preferredInput) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getPreferredInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mqcsInputSwitching
@Stability(Stable) public CfnChannel.InputSwitchConfigurationProperty.Builder mqcsInputSwitching(Boolean mqcsInputSwitching) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getMqcsInputSwitching()- 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 CfnChannel.InputSwitchConfigurationProperty.Builder mqcsInputSwitching(IResolvable mqcsInputSwitching) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getMqcsInputSwitching()- 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 CfnChannel.InputSwitchConfigurationProperty.Builder preferredInput(Number preferredInput) Sets the value ofCfnChannel.InputSwitchConfigurationProperty.getPreferredInput()- 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<CfnChannel.InputSwitchConfigurationProperty>- Returns:
- a new instance of
CfnChannel.InputSwitchConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-