Interface CmafPackage.Builder

    • Method Detail

      • encryption

        CmafPackage.Builder encryption​(CmafEncryption 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.
      • hlsManifests

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

        CmafPackage.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.
      • segmentDurationSeconds

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

        CmafPackage.Builder segmentPrefix​(String segmentPrefix)
        An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
        Parameters:
        segmentPrefix - An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamSelection

        CmafPackage.Builder streamSelection​(StreamSelection streamSelection)
        Sets the value of the StreamSelection property for this object.
        Parameters:
        streamSelection - The new value for the StreamSelection property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.