Interface Channel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Channel.Builder,
,Channel> SdkBuilder<Channel.Builder,
,Channel> SdkPojo
- Enclosing class:
Channel
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the channel.The list of audiences defined in channel.audiences
(Collection<String> audiences) The list of audiences defined in channel.channelName
(String channelName) The name of the channel.channelState
(String channelState) Returns the state whether the channel is running or not.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.fillerSlate
(SlateSource fillerSlate) The slate used to fill gaps between programs in the schedule.lastModifiedTime
(Instant lastModifiedTime) The timestamp of when the channel was last modified.default Channel.Builder
logConfiguration
(Consumer<LogConfigurationForChannel.Builder> logConfiguration) The log configuration.logConfiguration
(LogConfigurationForChannel logConfiguration) The log configuration.outputs
(Collection<ResponseOutputItem> outputs) The channel's output properties.outputs
(Consumer<ResponseOutputItem.Builder>... outputs) The channel's output properties.outputs
(ResponseOutputItem... 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The ARN of the channel.
- Parameters:
arn
- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The list of audiences defined in channel.
- Parameters:
audiences
- The list of audiences defined in channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
The list of audiences defined in channel.
- Parameters:
audiences
- The list of audiences defined in channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name of the channel.
- Parameters:
channelName
- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelState
Returns the state whether the channel is running or not.
- Parameters:
channelState
- Returns the state whether the channel is running or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The timestamp of when the channel was created.
- Parameters:
creationTime
- The timestamp of when the channel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. You must configure filler slate if your channel uses theLINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels using theLOOP
PlaybackMode
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fillerSlate
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the
This is a convenience method that creates an instance of theLINEAR
PlaybackMode
. MediaTailor doesn't support filler slate for channels using theLOOP
PlaybackMode
.SlateSource.Builder
avoiding the need to create one manually viaSlateSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofillerSlate(SlateSource)
.- Parameters:
fillerSlate
- a consumer that will call methods onSlateSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
The timestamp of when the channel was last modified.
- Parameters:
lastModifiedTime
- The timestamp of when the channel was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
The log configuration.
- Parameters:
logConfiguration
- The log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default Channel.Builder logConfiguration(Consumer<LogConfigurationForChannel.Builder> logConfiguration) The log configuration.
This is a convenience method that creates an instance of theLogConfigurationForChannel.Builder
avoiding the need to create one manually viaLogConfigurationForChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(LogConfigurationForChannel)
.- Parameters:
logConfiguration
- a consumer that will call methods onLogConfigurationForChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputs
The channel's output properties.
- Parameters:
outputs
- The channel's output properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The channel's output properties.
- Parameters:
outputs
- The channel's output properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResponseOutputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<ResponseOutputItem>)
.- Parameters:
outputs
- a consumer that will call methods onResponseOutputItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.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:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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:
- Returns a reference to this object so that method calls can be chained together.
-
tier
The tier for this channel. STANDARD tier channels can contain live programs.
- Parameters:
tier
- The tier for this channel. STANDARD tier channels can contain live programs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-