public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
| Modifier and Type | Method and Description |
|---|---|
Channel.Builder |
arn(String arn)
The ARN of the channel.
|
Channel.Builder |
channelName(String channelName)
The name of the channel.
|
Channel.Builder |
channelState(String channelState)
Returns the state whether the channel is running or not.
|
Channel.Builder |
creationTime(Instant creationTime)
The timestamp of when the channel was created.
|
default Channel.Builder |
fillerSlate(Consumer<SlateSource.Builder> fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
Channel.Builder |
fillerSlate(SlateSource fillerSlate)
The slate used to fill gaps between programs in the schedule.
|
Channel.Builder |
lastModifiedTime(Instant lastModifiedTime)
The timestamp of when the channel was last modified.
|
Channel.Builder |
outputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
|
Channel.Builder |
outputs(Consumer<ResponseOutputItem.Builder>... outputs)
The channel's output properties.
|
Channel.Builder |
outputs(ResponseOutputItem... outputs)
The channel's output properties.
|
Channel.Builder |
playbackMode(String playbackMode)
The type of playback mode for this channel.
|
Channel.Builder |
tags(Map<String,String> tags)
The tags to assign to the channel.
|
Channel.Builder |
tier(String tier)
The tier for this channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannel.Builder arn(String arn)
The ARN of the channel.
arn - The ARN of the channel.Channel.Builder channelName(String channelName)
The name of the channel.
channelName - The name of the channel.Channel.Builder channelState(String channelState)
Returns the state whether the channel is running or not.
channelState - Returns the state whether the channel is running or not.Channel.Builder creationTime(Instant creationTime)
The timestamp of when the channel was created.
creationTime - The timestamp of when the channel was created.Channel.Builder fillerSlate(SlateSource 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 the LOOP PlaybackMode.
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 the LOOP PlaybackMode.default Channel.Builder fillerSlate(Consumer<SlateSource.Builder> 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 the LOOP PlaybackMode.
SlateSource.Builder avoiding the need to
create one manually via SlateSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to fillerSlate(SlateSource).
fillerSlate - a consumer that will call methods on SlateSource.BuilderfillerSlate(SlateSource)Channel.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp of when the channel was last modified.
lastModifiedTime - The timestamp of when the channel was last modified.Channel.Builder outputs(Collection<ResponseOutputItem> outputs)
The channel's output properties.
outputs - The channel's output properties.Channel.Builder outputs(ResponseOutputItem... outputs)
The channel's output properties.
outputs - The channel's output properties.Channel.Builder outputs(Consumer<ResponseOutputItem.Builder>... outputs)
The channel's output properties.
This is a convenience method that creates an instance of theResponseOutputItem.Builder avoiding the need to
create one manually via
ResponseOutputItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #outputs(List.
outputs - a consumer that will call methods on
ResponseOutputItem.Builder#outputs(java.util.Collection) Channel.Builder playbackMode(String 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.
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.
Channel.Builder tags(Map<String,String> 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.
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.Channel.Builder tier(String tier)
The tier for this channel. STANDARD tier channels can contain live programs.
tier - The tier for this channel. STANDARD tier channels can contain live programs.Copyright © 2022. All rights reserved.