Interface Channel.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Channel.Builder,Channel>, SdkBuilder<Channel.Builder,Channel>, SdkPojo
Enclosing class:
Channel

public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
  • Method Details

    • arn

      The ARN of the channel.

      Parameters:
      arn - The ARN of the channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audiences

      Channel.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

      Channel.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

      Channel.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

      Channel.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.
    • creationTime

      Channel.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

      Channel.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 LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

      Parameters:
      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 the LOOP PlaybackMode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fillerSlate

      default Channel.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 LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

      This is a convenience method that creates an instance of the SlateSource.Builder avoiding the need to create one manually via SlateSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fillerSlate(SlateSource).

      Parameters:
      fillerSlate - a consumer that will call methods on SlateSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModifiedTime

      Channel.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.
    • logConfiguration

      Channel.Builder logConfiguration(LogConfigurationForChannel logConfiguration)

      The log configuration.

      Parameters:
      logConfiguration - The log configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfiguration

      default Channel.Builder logConfiguration(Consumer<LogConfigurationForChannel.Builder> logConfiguration)

      The log configuration.

      This is a convenience method that creates an instance of the LogConfigurationForChannel.Builder avoiding the need to create one manually via LogConfigurationForChannel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logConfiguration(LogConfigurationForChannel).

      Parameters:
      logConfiguration - a consumer that will call methods on LogConfigurationForChannel.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

      Channel.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

      The channel's output properties.

      This is a convenience method that creates an instance of the ResponseOutputItem.Builder avoiding the need to create one manually via ResponseOutputItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputs(List<ResponseOutputItem>).

      Parameters:
      outputs - a consumer that will call methods on ResponseOutputItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • playbackMode

      Channel.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

      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

      Channel.Builder tier(String tier)

      The tier for this channel. STANDARD tier channels can contain live programs.

      Parameters:
      tier - The tier for this channel. STANDARD tier channels can contain live programs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.