Class CfnChannel.MultitrackInputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnChannel.MultitrackInputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.MultitrackInputConfigurationProperty>
- Enclosing interface:
CfnChannel.MultitrackInputConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.MultitrackInputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.MultitrackInputConfigurationProperty>
A builder for
CfnChannel.MultitrackInputConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.MultitrackInputConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnChannel.MultitrackInputConfigurationProperty.getEnabled()maximumResolution(String maximumResolution) Sets the value ofCfnChannel.MultitrackInputConfigurationProperty.getMaximumResolution()Sets the value ofCfnChannel.MultitrackInputConfigurationProperty.getPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnChannel.MultitrackInputConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnChannel.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 CfnChannel.MultitrackInputConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnChannel.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 CfnChannel.MultitrackInputConfigurationProperty.Builder maximumResolution(String maximumResolution) Sets the value ofCfnChannel.MultitrackInputConfigurationProperty.getMaximumResolution()- Parameters:
maximumResolution- Maximum resolution for multitrack input. Required ifenabledistrue.- Returns:
this
-
policy
@Stability(Stable) public CfnChannel.MultitrackInputConfigurationProperty.Builder policy(String policy) Sets the value ofCfnChannel.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<CfnChannel.MultitrackInputConfigurationProperty>- Returns:
- a new instance of
CfnChannel.MultitrackInputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-