Interface UpdateChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateChannelResponse.Builder,UpdateChannelResponse>,MediaTailorResponse.Builder,SdkBuilder<UpdateChannelResponse.Builder,UpdateChannelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateChannelResponse
public static interface UpdateChannelResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<UpdateChannelResponse.Builder,UpdateChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateChannelResponse.Builderarn(String arn)The Amazon Resource Name (ARN) associated with the channel.UpdateChannelResponse.Builderaudiences(String... audiences)The list of audiences defined in channel.UpdateChannelResponse.Builderaudiences(Collection<String> audiences)The list of audiences defined in channel.UpdateChannelResponse.BuilderchannelName(String channelName)The name of the channel.UpdateChannelResponse.BuilderchannelState(String channelState)Returns the state whether the channel is running or not.UpdateChannelResponse.BuilderchannelState(ChannelState channelState)Returns the state whether the channel is running or not.UpdateChannelResponse.BuildercreationTime(Instant creationTime)The timestamp of when the channel was created.default UpdateChannelResponse.BuilderfillerSlate(Consumer<SlateSource.Builder> fillerSlate)The slate used to fill gaps between programs in the schedule.UpdateChannelResponse.BuilderfillerSlate(SlateSource fillerSlate)The slate used to fill gaps between programs in the schedule.UpdateChannelResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp that indicates when the channel was last modified.UpdateChannelResponse.Builderoutputs(Collection<ResponseOutputItem> outputs)The channel's output properties.UpdateChannelResponse.Builderoutputs(Consumer<ResponseOutputItem.Builder>... outputs)The channel's output properties.UpdateChannelResponse.Builderoutputs(ResponseOutputItem... outputs)The channel's output properties.UpdateChannelResponse.BuilderplaybackMode(String playbackMode)The type of playback mode for this channel.UpdateChannelResponse.Buildertags(Map<String,String> tags)The tags to assign to the channel.UpdateChannelResponse.Buildertier(String tier)The tier associated with this Channel.default UpdateChannelResponse.BuildertimeShiftConfiguration(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration)The time-shifted viewing configuration for the channel.UpdateChannelResponse.BuildertimeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)The time-shifted viewing configuration for the channel.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateChannelResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) associated with the channel.
- Parameters:
arn- The Amazon Resource Name (ARN) associated with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
UpdateChannelResponse.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
UpdateChannelResponse.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.
- See Also:
ChannelState,ChannelState
-
channelState
UpdateChannelResponse.Builder channelState(ChannelState 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.
- See Also:
ChannelState,ChannelState
-
creationTime
UpdateChannelResponse.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
UpdateChannelResponse.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 UpdateChannelResponse.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
UpdateChannelResponse.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp that indicates when the channel was last modified.
- Parameters:
lastModifiedTime- The timestamp that indicates when the channel was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
UpdateChannelResponse.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
UpdateChannelResponse.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
UpdateChannelResponse.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
UpdateChannelResponse.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
UpdateChannelResponse.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
UpdateChannelResponse.Builder tier(String tier)
The tier associated with this Channel.
- Parameters:
tier- The tier associated with this Channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeShiftConfiguration
UpdateChannelResponse.Builder timeShiftConfiguration(TimeShiftConfiguration timeShiftConfiguration)
The time-shifted viewing configuration for the channel.
- Parameters:
timeShiftConfiguration- The time-shifted viewing configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeShiftConfiguration
default UpdateChannelResponse.Builder timeShiftConfiguration(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration)
The time-shifted viewing configuration for 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)
-
audiences
UpdateChannelResponse.Builder audiences(Collection<String> 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
UpdateChannelResponse.Builder audiences(String... 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.
-
-