Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> MediaTailorRequest.Builder
,SdkBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.default CreateChannelRequest.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.outputs
(Collection<RequestOutputItem> outputs) The channel's output properties.outputs
(Consumer<RequestOutputItem.Builder>... outputs) The channel's output properties.outputs
(RequestOutputItem... outputs) The channel's output properties.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.playbackMode
(String playbackMode) The type of playback mode to use for this channel.playbackMode
(PlaybackMode playbackMode) The type of playback mode to use for this channel.The tags to assign to the channel.The tier of the channel.The tier of the channel.default CreateChannelRequest.Builder
timeShiftConfiguration
(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration) The time-shifted viewing configuration you want to associate to the channel.timeShiftConfiguration
(TimeShiftConfiguration timeShiftConfiguration) The time-shifted viewing configuration you want to associate to the channel.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 Details
-
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.
-
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:
-
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 theRequestOutputItem.Builder
avoiding the need to create one manually viaRequestOutputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<RequestOutputItem>)
.- 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:
-
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
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:
-
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 of the channel.
- Parameters:
tier
- The tier of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tier
The tier of the channel.
- Parameters:
tier
- The tier of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builder
avoiding the need to create one manually viaTimeShiftConfiguration.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-