Interface HlsPackage.Builder

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

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

    • encryption

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

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

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

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

      HlsPackage.Builder hlsManifests(Collection<HlsManifest> hlsManifests)
      A list of HLS manifest configurations.
      Parameters:
      hlsManifests - A list of HLS manifest configurations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hlsManifests

      HlsPackage.Builder hlsManifests(HlsManifest... hlsManifests)
      A list of HLS manifest configurations.
      Parameters:
      hlsManifests - A list of HLS manifest configurations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hlsManifests

      HlsPackage.Builder hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
      A list of HLS manifest configurations. This is a convenience method that creates an instance of the HlsManifest.Builder avoiding the need to create one manually via HlsManifest.builder().

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

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

      HlsPackage.Builder includeDvbSubtitles(Boolean includeDvbSubtitles)
      When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
      Parameters:
      includeDvbSubtitles - When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentDurationSeconds

      HlsPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
      Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
      Parameters:
      segmentDurationSeconds - Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • useAudioRenditionGroup

      HlsPackage.Builder useAudioRenditionGroup(Boolean useAudioRenditionGroup)
      When enabled, audio streams will be placed in rendition groups in the output.
      Parameters:
      useAudioRenditionGroup - When enabled, audio streams will be placed in rendition groups in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.