Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.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 TypeMethodDescriptionSets the value ofCfnChannelMixinProps.getAudiences()build()Builds the configured instance.channelName(String channelName) Sets the value ofCfnChannelMixinProps.getChannelName()fillerSlate(CfnChannelPropsMixin.SlateSourceProperty fillerSlate) Sets the value ofCfnChannelMixinProps.getFillerSlate()fillerSlate(IResolvable fillerSlate) Sets the value ofCfnChannelMixinProps.getFillerSlate()logConfiguration(CfnChannelPropsMixin.LogConfigurationForChannelProperty logConfiguration) Sets the value ofCfnChannelMixinProps.getLogConfiguration()logConfiguration(IResolvable logConfiguration) Sets the value ofCfnChannelMixinProps.getLogConfiguration()Sets the value ofCfnChannelMixinProps.getOutputs()outputs(IResolvable outputs) Sets the value ofCfnChannelMixinProps.getOutputs()playbackMode(String playbackMode) Sets the value ofCfnChannelMixinProps.getPlaybackMode()Sets the value ofCfnChannelMixinProps.getTags()Sets the value ofCfnChannelMixinProps.getTier()timeShiftConfiguration(CfnChannelPropsMixin.TimeShiftConfigurationProperty timeShiftConfiguration) Sets the value ofCfnChannelMixinProps.getTimeShiftConfiguration()timeShiftConfiguration(IResolvable timeShiftConfiguration) Sets the value ofCfnChannelMixinProps.getTimeShiftConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audiences
Sets the value ofCfnChannelMixinProps.getAudiences()- Parameters:
audiences- The list of audiences defined in channel.- Returns:
this
-
channelName
Sets the value ofCfnChannelMixinProps.getChannelName()- Parameters:
channelName- The name of the channel.- Returns:
this
-
fillerSlate
Sets the value ofCfnChannelMixinProps.getFillerSlate()- Parameters:
fillerSlate- The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses theLINEARPlaybackMode. MediaTailor doesn't support filler slate for channels using theLOOPPlaybackMode.- Returns:
this
-
fillerSlate
@Stability(Stable) public CfnChannelMixinProps.Builder fillerSlate(CfnChannelPropsMixin.SlateSourceProperty fillerSlate) Sets the value ofCfnChannelMixinProps.getFillerSlate()- Parameters:
fillerSlate- The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses theLINEARPlaybackMode. MediaTailor doesn't support filler slate for channels using theLOOPPlaybackMode.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder logConfiguration(IResolvable logConfiguration) Sets the value ofCfnChannelMixinProps.getLogConfiguration()- Parameters:
logConfiguration- The log configuration.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder logConfiguration(CfnChannelPropsMixin.LogConfigurationForChannelProperty logConfiguration) Sets the value ofCfnChannelMixinProps.getLogConfiguration()- Parameters:
logConfiguration- The log configuration.- Returns:
this
-
outputs
Sets the value ofCfnChannelMixinProps.getOutputs()- Parameters:
outputs- The channel's output properties.- Returns:
this
-
outputs
Sets the value ofCfnChannelMixinProps.getOutputs()- Parameters:
outputs- The channel's output properties.- Returns:
this
-
playbackMode
Sets the value ofCfnChannelMixinProps.getPlaybackMode()- Parameters:
playbackMode- The type of playback mode for this channel.LINEAR- Programs play back-to-back only once.LOOP- Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.- Returns:
this
-
tags
Sets the value ofCfnChannelMixinProps.getTags()- Parameters:
tags- The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources .- Returns:
this
-
tier
Sets the value ofCfnChannelMixinProps.getTier()- Parameters:
tier- The tier for this channel. STANDARD tier channels can contain live programs.- Returns:
this
-
timeShiftConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder timeShiftConfiguration(IResolvable timeShiftConfiguration) Sets the value ofCfnChannelMixinProps.getTimeShiftConfiguration()- Parameters:
timeShiftConfiguration- The configuration for time-shifted viewing.- Returns:
this
-
timeShiftConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder timeShiftConfiguration(CfnChannelPropsMixin.TimeShiftConfigurationProperty timeShiftConfiguration) Sets the value ofCfnChannelMixinProps.getTimeShiftConfiguration()- Parameters:
timeShiftConfiguration- The configuration for time-shifted viewing.- 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
-