Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelMixinProps>
- Enclosing interface:
CfnChannelMixinProps
@Stability(Stable)
public static final class CfnChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelMixinProps>
A builder for
CfnChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofCfnChannelMixinProps.getChannelGroupName()channelName(String channelName) Sets the value ofCfnChannelMixinProps.getChannelName()description(String description) Sets the value ofCfnChannelMixinProps.getDescription()inputSwitchConfiguration(CfnChannelPropsMixin.InputSwitchConfigurationProperty inputSwitchConfiguration) Sets the value ofCfnChannelMixinProps.getInputSwitchConfiguration()inputSwitchConfiguration(IResolvable inputSwitchConfiguration) Sets the value ofCfnChannelMixinProps.getInputSwitchConfiguration()Sets the value ofCfnChannelMixinProps.getInputType()outputHeaderConfiguration(CfnChannelPropsMixin.OutputHeaderConfigurationProperty outputHeaderConfiguration) Sets the value ofCfnChannelMixinProps.getOutputHeaderConfiguration()outputHeaderConfiguration(IResolvable outputHeaderConfiguration) Sets the value ofCfnChannelMixinProps.getOutputHeaderConfiguration()Sets the value ofCfnChannelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
Sets the value ofCfnChannelMixinProps.getChannelGroupName()- Parameters:
channelGroupName- The name of the channel group associated with the channel configuration.- Returns:
this
-
channelName
Sets the value ofCfnChannelMixinProps.getChannelName()- Parameters:
channelName- The name of the channel.- Returns:
this
-
description
Sets the value ofCfnChannelMixinProps.getDescription()- Parameters:
description- The description of the channel.- Returns:
this
-
inputSwitchConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder inputSwitchConfiguration(IResolvable inputSwitchConfiguration) Sets the value ofCfnChannelMixinProps.getInputSwitchConfiguration()- Parameters:
inputSwitchConfiguration- The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.- Returns:
this
-
inputSwitchConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder inputSwitchConfiguration(CfnChannelPropsMixin.InputSwitchConfigurationProperty inputSwitchConfiguration) Sets the value ofCfnChannelMixinProps.getInputSwitchConfiguration()- Parameters:
inputSwitchConfiguration- The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.- Returns:
this
-
inputType
Sets the value ofCfnChannelMixinProps.getInputType()- Parameters:
inputType- The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.The allowed values are:
HLS- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Returns:
this
-
outputHeaderConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder outputHeaderConfiguration(IResolvable outputHeaderConfiguration) Sets the value ofCfnChannelMixinProps.getOutputHeaderConfiguration()- Parameters:
outputHeaderConfiguration- The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.- Returns:
this
-
outputHeaderConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder outputHeaderConfiguration(CfnChannelPropsMixin.OutputHeaderConfigurationProperty outputHeaderConfiguration) Sets the value ofCfnChannelMixinProps.getOutputHeaderConfiguration()- Parameters:
outputHeaderConfiguration- The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.- Returns:
this
-
tags
Sets the value ofCfnChannelMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelMixinProps>- Returns:
- a new instance of
CfnChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-