Class CfnChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel>
- Enclosing class:
CfnChannel
CfnChannel
.-
Method Summary
Modifier and TypeMethodDescriptionThe list of audiences defined in channel.build()
channelName
(String channelName) The name of the channel.static CfnChannel.Builder
fillerSlate
(IResolvable fillerSlate) The slate used to fill gaps between programs in the schedule.fillerSlate
(CfnChannel.SlateSourceProperty fillerSlate) The slate used to fill gaps between programs in the schedule.logConfiguration
(IResolvable logConfiguration) The log configuration.logConfiguration
(CfnChannel.LogConfigurationForChannelProperty logConfiguration) The log configuration.The channel's output properties.outputs
(IResolvable outputs) The channel's output properties.playbackMode
(String playbackMode) The type of playback mode for this channel.The tags to assign to the channel.The tier for this channel.timeShiftConfiguration
(IResolvable timeShiftConfiguration) The configuration for time-shifted viewing.timeShiftConfiguration
(CfnChannel.TimeShiftConfigurationProperty timeShiftConfiguration) The configuration for time-shifted viewing.
-
Method Details
-
create
@Stability(Stable) public static CfnChannel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannel.Builder
.
-
channelName
The name of the channel.- Parameters:
channelName
- The name of the channel. This parameter is required.- Returns:
this
- See Also:
-
outputs
The channel's output properties.- Parameters:
outputs
- The channel's output properties. This parameter is required.- Returns:
this
- See Also:
-
outputs
The channel's output properties.- Parameters:
outputs
- The channel's output properties. This parameter is required.- Returns:
this
- See Also:
-
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.- Parameters:
playbackMode
- The type of playback mode for this channel. This parameter is required.- Returns:
this
- See Also:
-
audiences
The list of audiences defined in channel.- Parameters:
audiences
- The list of audiences defined in channel. This parameter is required.- Returns:
this
- See Also:
-
fillerSlate
The slate used to fill gaps between programs in the schedule.You must configure filler slate if your channel uses the
LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels using theLOOP
PlaybackMode
.- Parameters:
fillerSlate
- The slate used to fill gaps between programs in the schedule. This parameter is required.- Returns:
this
- See Also:
-
fillerSlate
@Stability(Stable) public CfnChannel.Builder fillerSlate(CfnChannel.SlateSourceProperty fillerSlate) The slate used to fill gaps between programs in the schedule.You must configure filler slate if your channel uses the
LINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels using theLOOP
PlaybackMode
.- Parameters:
fillerSlate
- The slate used to fill gaps between programs in the schedule. This parameter is required.- Returns:
this
- See Also:
-
logConfiguration
The log configuration.- Parameters:
logConfiguration
- The log configuration. This parameter is required.- Returns:
this
- See Also:
-
logConfiguration
@Stability(Stable) public CfnChannel.Builder logConfiguration(CfnChannel.LogConfigurationForChannelProperty logConfiguration) The log configuration.- Parameters:
logConfiguration
- The log configuration. This parameter is required.- Returns:
this
- See Also:
-
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 .
- Parameters:
tags
- The tags to assign to the channel. This parameter is required.- Returns:
this
- See Also:
-
tier
The tier for this channel.STANDARD tier channels can contain live programs.
- Parameters:
tier
- The tier for this channel. This parameter is required.- Returns:
this
- See Also:
-
timeShiftConfiguration
@Stability(Stable) public CfnChannel.Builder timeShiftConfiguration(IResolvable timeShiftConfiguration) The configuration for time-shifted viewing.- Parameters:
timeShiftConfiguration
- The configuration for time-shifted viewing. This parameter is required.- Returns:
this
- See Also:
-
timeShiftConfiguration
@Stability(Stable) public CfnChannel.Builder timeShiftConfiguration(CfnChannel.TimeShiftConfigurationProperty timeShiftConfiguration) The configuration for time-shifted viewing.- Parameters:
timeShiftConfiguration
- The configuration for time-shifted viewing. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel>
- Returns:
- a newly built instance of
CfnChannel
.
-