Interface AlternateMedia.Builder

  • Method Details

    • sourceLocationName

      AlternateMedia.Builder sourceLocationName(String sourceLocationName)

      The name of the source location for alternateMedia.

      Parameters:
      sourceLocationName - The name of the source location for alternateMedia.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • liveSourceName

      AlternateMedia.Builder liveSourceName(String liveSourceName)

      The name of the live source for alternateMedia.

      Parameters:
      liveSourceName - The name of the live source for alternateMedia.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vodSourceName

      AlternateMedia.Builder vodSourceName(String vodSourceName)

      The name of the VOD source for alternateMedia.

      Parameters:
      vodSourceName - The name of the VOD source for alternateMedia.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clipRange

      AlternateMedia.Builder clipRange(ClipRange clipRange)
      Sets the value of the ClipRange property for this object.
      Parameters:
      clipRange - The new value for the ClipRange property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clipRange

      default AlternateMedia.Builder clipRange(Consumer<ClipRange.Builder> clipRange)
      Sets the value of the ClipRange property for this object. This is a convenience method that creates an instance of the ClipRange.Builder avoiding the need to create one manually via ClipRange.builder().

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

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

      AlternateMedia.Builder scheduledStartTimeMillis(Long scheduledStartTimeMillis)

      The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.

      Parameters:
      scheduledStartTimeMillis - The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adBreaks

      Ad break configuration parameters defined in AlternateMedia.

      Parameters:
      adBreaks - Ad break configuration parameters defined in AlternateMedia.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adBreaks

      AlternateMedia.Builder adBreaks(AdBreak... adBreaks)

      Ad break configuration parameters defined in AlternateMedia.

      Parameters:
      adBreaks - Ad break configuration parameters defined in AlternateMedia.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adBreaks

      Ad break configuration parameters defined in AlternateMedia.

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

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

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

      AlternateMedia.Builder durationMillis(Long durationMillis)

      The duration of the alternateMedia in milliseconds.

      Parameters:
      durationMillis - The duration of the alternateMedia in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.