Interface AlternateMedia.Builder

    • Method Detail

      • adBreaks

        AlternateMedia.Builder adBreaks​(Collection<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

        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

        AlternateMedia.Builder adBreaks​(Consumer<AdBreak.Builder>... 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).

        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:
        #adBreaks(java.util.Collection)
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.