Interface CreateChannelRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>, MediaTailorRequest.Builder, SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateChannelRequest

public static interface CreateChannelRequest.Builder extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
  • 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

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

      CreateChannelRequest.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.
    • fillerSlate

      CreateChannelRequest.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 CreateChannelRequest.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:
    • 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 the RequestOutputItem.Builder avoiding the need to create one manually via RequestOutputItem.builder() .

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

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

      CreateChannelRequest.Builder playbackMode(String 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

      CreateChannelRequest.Builder playbackMode(PlaybackMode 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

      CreateChannelRequest.Builder timeShiftConfiguration(TimeShiftConfiguration 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 the TimeShiftConfiguration.Builder avoiding the need to create one manually via TimeShiftConfiguration.builder().

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

      Parameters:
      timeShiftConfiguration - a consumer that will call methods on TimeShiftConfiguration.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.