Interface Channel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Channel.Builder,Channel>,SdkBuilder<Channel.Builder,Channel>,SdkPojo
- Enclosing class:
- Channel
public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Channel.Builderarn(String arn)The ARN of the channel.Channel.BuilderchannelName(String channelName)The name of the channel.Channel.BuilderchannelState(String channelState)Returns the state whether the channel is running or not.Channel.BuildercreationTime(Instant creationTime)The timestamp of when the channel was created.default Channel.BuilderfillerSlate(Consumer<SlateSource.Builder> fillerSlate)The slate used to fill gaps between programs in the schedule.Channel.BuilderfillerSlate(SlateSource fillerSlate)The slate used to fill gaps between programs in the schedule.Channel.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp of when the channel was last modified.default Channel.BuilderlogConfiguration(Consumer<LogConfigurationForChannel.Builder> logConfiguration)The log configuration.Channel.BuilderlogConfiguration(LogConfigurationForChannel logConfiguration)The log configuration.Channel.Builderoutputs(Collection<ResponseOutputItem> outputs)The channel's output properties.Channel.Builderoutputs(Consumer<ResponseOutputItem.Builder>... outputs)The channel's output properties.Channel.Builderoutputs(ResponseOutputItem... outputs)The channel's output properties.Channel.BuilderplaybackMode(String playbackMode)The type of playback mode for this channel.Channel.Buildertags(Map<String,String> tags)The tags to assign to the channel.Channel.Buildertier(String tier)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 Detail
-
arn
Channel.Builder arn(String 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.
-
channelName
Channel.Builder channelName(String 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
Channel.Builder channelState(String 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
Channel.Builder creationTime(Instant 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
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
LINEARPlaybackMode. MediaTailor doesn't support filler slate for channels using theLOOPPlaybackMode.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
fillerSlate
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
This is a convenience method that creates an instance of theLINEARPlaybackMode. MediaTailor doesn't support filler slate for channels using theLOOPPlaybackMode.SlateSource.Builderavoiding the need to create one manually viaSlateSource.builder().When the
Consumercompletes,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:
fillerSlate(SlateSource)
-
lastModifiedTime
Channel.Builder lastModifiedTime(Instant 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
Channel.Builder logConfiguration(LogConfigurationForChannel 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.Builderavoiding the need to create one manually viaLogConfigurationForChannel.builder().When the
Consumercompletes,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:
logConfiguration(LogConfigurationForChannel)
-
outputs
Channel.Builder outputs(Collection<ResponseOutputItem> 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
Channel.Builder outputs(ResponseOutputItem... 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
Channel.Builder outputs(Consumer<ResponseOutputItem.Builder>... outputs)
The channel's output properties.
This is a convenience method that creates an instance of theResponseOutputItem.Builderavoiding the need to create one manually viaResponseOutputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputs(List.) - 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:
#outputs(java.util.Collection)
-
playbackMode
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.- 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
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.
- 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
Channel.Builder tier(String 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.
-
-