Interface CreateChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,MediaTailorResponse.Builder,SdkBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateChannelResponse
public static interface CreateChannelResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateChannelResponse.Builderarn(String arn)The Amazon Resource Name (ARN) to assign to the channel.CreateChannelResponse.Builderaudiences(String... audiences)The list of audiences defined in channel.CreateChannelResponse.Builderaudiences(Collection<String> audiences)The list of audiences defined in channel.CreateChannelResponse.BuilderchannelName(String channelName)The name to assign to the channel.CreateChannelResponse.BuilderchannelState(String channelState)Indicates whether the channel is in a running state or not.CreateChannelResponse.BuilderchannelState(ChannelState channelState)Indicates whether the channel is in a running state or not.CreateChannelResponse.BuildercreationTime(Instant creationTime)The timestamp of when the channel was created.default CreateChannelResponse.BuilderfillerSlate(Consumer<SlateSource.Builder> fillerSlate)Contains information about the slate used to fill gaps between programs in the schedule.CreateChannelResponse.BuilderfillerSlate(SlateSource fillerSlate)Contains information about the slate used to fill gaps between programs in the schedule.CreateChannelResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp of when the channel was last modified.CreateChannelResponse.Builderoutputs(Collection<ResponseOutputItem> outputs)The output properties to assign to the channel.CreateChannelResponse.Builderoutputs(Consumer<ResponseOutputItem.Builder>... outputs)The output properties to assign to the channel.CreateChannelResponse.Builderoutputs(ResponseOutputItem... outputs)The output properties to assign to the channel.CreateChannelResponse.BuilderplaybackMode(String playbackMode)The playback mode to assign to the channel.CreateChannelResponse.Buildertags(Map<String,String> tags)The tags to assign to the channel.CreateChannelResponse.Buildertier(String tier)The tier of the channel.default CreateChannelResponse.BuildertimeShiftConfiguration(Consumer<TimeShiftConfiguration.Builder> timeShiftConfiguration)The time-shifted viewing configuration assigned to the channel.CreateChannelResponse.BuildertimeShiftConfiguration(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 Detail
-
arn
CreateChannelResponse.Builder arn(String 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
CreateChannelResponse.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
CreateChannelResponse.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.
-
channelName
CreateChannelResponse.Builder channelName(String 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
CreateChannelResponse.Builder channelState(String 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,ChannelState
-
channelState
CreateChannelResponse.Builder channelState(ChannelState 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,ChannelState
-
creationTime
CreateChannelResponse.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
CreateChannelResponse.Builder fillerSlate(SlateSource 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
default CreateChannelResponse.Builder fillerSlate(Consumer<SlateSource.Builder> 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.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
CreateChannelResponse.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.
-
outputs
CreateChannelResponse.Builder outputs(Collection<ResponseOutputItem> 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
CreateChannelResponse.Builder outputs(ResponseOutputItem... 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
CreateChannelResponse.Builder outputs(Consumer<ResponseOutputItem.Builder>... outputs)
The output properties to assign to the channel.
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
CreateChannelResponse.Builder playbackMode(String 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
CreateChannelResponse.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
CreateChannelResponse.Builder tier(String 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
CreateChannelResponse.Builder timeShiftConfiguration(TimeShiftConfiguration 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.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)
-
-