Interface CreateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,MediaTailorRequest.Builder,SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelRequest
public static interface CreateChannelRequest.Builder extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
build
-
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
-
channelName
CreateChannelRequest.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.
-
fillerSlate
CreateChannelRequest.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 CreateChannelRequest.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)
-
outputs
CreateChannelRequest.Builder outputs(Collection<RequestOutputItem> 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
CreateChannelRequest.Builder outputs(RequestOutputItem... 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
CreateChannelRequest.Builder outputs(Consumer<RequestOutputItem.Builder>... outputs)
The channel's output properties.
This is a convenience method that creates an instance of theRequestOutputItem.Builderavoiding the need to create one manually viaRequestOutputItem.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 onRequestOutputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputs(java.util.Collection)
-
playbackMode
CreateChannelRequest.Builder playbackMode(String playbackMode)
The type of playback mode to use for this channel.
LINEAR- The programs in the schedule play once back-to-back in the schedule.LOOP- The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.- Parameters:
playbackMode- The type of playback mode to use for this channel.LINEAR- The programs in the schedule play once back-to-back in the schedule.LOOP- The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, 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.
- See Also:
PlaybackMode,PlaybackMode
-
playbackMode
CreateChannelRequest.Builder playbackMode(PlaybackMode playbackMode)
The type of playback mode to use for this channel.
LINEAR- The programs in the schedule play once back-to-back in the schedule.LOOP- The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.- Parameters:
playbackMode- The type of playback mode to use for this channel.LINEAR- The programs in the schedule play once back-to-back in the schedule.LOOP- The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, 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.
- See Also:
PlaybackMode,PlaybackMode
-
tags
CreateChannelRequest.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
CreateChannelRequest.Builder tier(String tier)
The tier of the channel.
-
tier
CreateChannelRequest.Builder tier(Tier tier)
The tier of the channel.
-
timeShiftConfiguration
CreateChannelRequest.Builder timeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration you want to associate to the channel.
- Parameters:
timeShiftConfiguration- The time-shifted viewing configuration you want to associate to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeShiftConfiguration
default CreateChannelRequest.Builder timeShiftConfiguration(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration)
The time-shifted viewing configuration you want to associate to the channel.
This is a convenience method that creates an instance of theTimeShiftConfiguration.Builderavoiding the need to create one manually viaTimeShiftConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeShiftConfiguration(TimeShiftConfiguration).- Parameters:
timeShiftConfiguration- a consumer that will call methods onTimeShiftConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeShiftConfiguration(TimeShiftConfiguration)
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-