Interface HlsAkamaiSettings.Builder

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

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

    • connectionRetryInterval

      HlsAkamaiSettings.Builder connectionRetryInterval(Integer connectionRetryInterval)
      Number of seconds to wait before retrying connection to the CDN if the connection is lost.
      Parameters:
      connectionRetryInterval - Number of seconds to wait before retrying connection to the CDN if the connection is lost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filecacheDuration

      HlsAkamaiSettings.Builder filecacheDuration(Integer filecacheDuration)
      Size in seconds of file cache for streaming outputs.
      Parameters:
      filecacheDuration - Size in seconds of file cache for streaming outputs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpTransferMode

      HlsAkamaiSettings.Builder httpTransferMode(String httpTransferMode)
      Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
      Parameters:
      httpTransferMode - Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • httpTransferMode

      HlsAkamaiSettings.Builder httpTransferMode(HlsAkamaiHttpTransferMode httpTransferMode)
      Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
      Parameters:
      httpTransferMode - Specify whether or not to use chunked transfer encoding to Akamai. User should contact Akamai to enable this feature.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numRetries

      HlsAkamaiSettings.Builder numRetries(Integer numRetries)
      Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
      Parameters:
      numRetries - Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restartDelay

      HlsAkamaiSettings.Builder restartDelay(Integer restartDelay)
      If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Parameters:
      restartDelay - If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • salt

      Salt for authenticated Akamai.
      Parameters:
      salt - Salt for authenticated Akamai.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • token

      Token parameter for authenticated akamai. If not specified, _gda_ is used.
      Parameters:
      token - Token parameter for authenticated akamai. If not specified, _gda_ is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.