Class CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ivs.CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.MultitrackInputConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.MultitrackInputConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.MultitrackInputConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getEnabled()maximumResolution(String maximumResolution) Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getEnabled()- Parameters:
enabled- Indicates whether multitrack input is enabled. Can be set totrueonly if channel type isSTANDARD. Settingenabledtotruewith any other channel type will cause an exception. Iftrue, thenpolicy,maximumResolution, andcontainerFormatare required, andcontainerFormatmust be set toFRAGMENTED_MP4. Default:false.- Returns:
this
-
enabled
@Stability(Stable) public CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getEnabled()- Parameters:
enabled- Indicates whether multitrack input is enabled. Can be set totrueonly if channel type isSTANDARD. Settingenabledtotruewith any other channel type will cause an exception. Iftrue, thenpolicy,maximumResolution, andcontainerFormatare required, andcontainerFormatmust be set toFRAGMENTED_MP4. Default:false.- Returns:
this
-
maximumResolution
@Stability(Stable) public CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder maximumResolution(String maximumResolution) - Parameters:
maximumResolution- Maximum resolution for multitrack input. Required ifenabledistrue.- Returns:
this
-
policy
@Stability(Stable) public CfnChannelPropsMixin.MultitrackInputConfigurationProperty.Builder policy(String policy) Sets the value ofCfnChannelPropsMixin.MultitrackInputConfigurationProperty.getPolicy()- Parameters:
policy- Indicates whether multitrack input is allowed or required. Required ifenabledistrue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.MultitrackInputConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.MultitrackInputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-