Interface CreateChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateChannelResponse.Builder,
,CreateChannelResponse> MediaTailorResponse.Builder
,SdkBuilder<CreateChannelResponse.Builder,
,CreateChannelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateChannelResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) to assign to 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 to assign to the channel.channelState
(String channelState) Indicates whether the channel is in a running state or not.channelState
(ChannelState channelState) Indicates whether the channel is in a running state or not.creationTime
(Instant creationTime) The timestamp of when the channel was created.default CreateChannelResponse.Builder
fillerSlate
(Consumer<SlateSource.Builder> fillerSlate) Contains information about the slate used to fill gaps between programs in the schedule.fillerSlate
(SlateSource fillerSlate) Contains information about the slate used to fill gaps between programs in the schedule.lastModifiedTime
(Instant lastModifiedTime) The timestamp of when the channel was last modified.outputs
(Collection<ResponseOutputItem> outputs) The output properties to assign to the channel.outputs
(Consumer<ResponseOutputItem.Builder>... outputs) The output properties to assign to the channel.outputs
(ResponseOutputItem... outputs) The output properties to assign to the channel.playbackMode
(String playbackMode) The playback mode to assign to the channel.The tags to assign to the channel.The tier of the channel.default CreateChannelResponse.Builder
timeShiftConfiguration
(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration) The time-shifted viewing configuration assigned to the channel.timeShiftConfiguration
(TimeShiftConfiguration timeShiftConfiguration) The time-shifted viewing configuration assigned to 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) to assign to the channel.
- Parameters:
arn
- The Amazon Resource Name (ARN) to assign to 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 to assign to the channel.
- Parameters:
channelName
- The name to assign to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelState
Indicates whether the channel is in a running state or not.
- Parameters:
channelState
- Indicates whether the channel is in a running state or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelState
Indicates whether the channel is in a running state or not.
- Parameters:
channelState
- Indicates whether the channel is in a running state or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
Contains information about the slate used to fill gaps between programs in the schedule.
- Parameters:
fillerSlate
- Contains information about the slate used to fill gaps between programs in the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fillerSlate
Contains information about the slate used to fill gaps between programs in the schedule.
This is a convenience method that creates an instance of theSlateSource.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.
-
outputs
The output properties to assign to the channel.
- Parameters:
outputs
- The output properties to assign to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The output properties to assign to the channel.
- Parameters:
outputs
- The output properties to assign to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The output properties to assign to the channel.
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 playback mode to assign to the channel.
- Parameters:
playbackMode
- The playback mode to assign to the channel.- 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 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.
-
timeShiftConfiguration
The time-shifted viewing configuration assigned to the channel.
- Parameters:
timeShiftConfiguration
- The time-shifted viewing configuration assigned to the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeShiftConfiguration
default CreateChannelResponse.Builder timeShiftConfiguration(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration) The time-shifted viewing configuration assigned 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:
-