public static final class CfnChannel.HlsAkamaiSettingsProperty.Builder
extends java.lang.Object
CfnChannel.HlsAkamaiSettingsProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.HlsAkamaiSettingsProperty.Builder connectionRetryInterval(java.lang.Number connectionRetryInterval)
CfnChannel.HlsAkamaiSettingsProperty.getConnectionRetryInterval()
connectionRetryInterval
- The number of seconds to wait before retrying a connection to the CDN if the connection is lost.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder filecacheDuration(java.lang.Number filecacheDuration)
CfnChannel.HlsAkamaiSettingsProperty.getFilecacheDuration()
filecacheDuration
- The size, in seconds, of the file cache for streaming outputs.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder httpTransferMode(java.lang.String httpTransferMode)
CfnChannel.HlsAkamaiSettingsProperty.getHttpTransferMode()
httpTransferMode
- Specifies whether to use chunked transfer encoding to Akamai.
To enable this feature, contact Akamai.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder numRetries(java.lang.Number numRetries)
CfnChannel.HlsAkamaiSettingsProperty.getNumRetries()
numRetries
- The number of retry attempts that will be made before the channel is put into an error state.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder restartDelay(java.lang.Number restartDelay)
CfnChannel.HlsAkamaiSettingsProperty.getRestartDelay()
restartDelay
- If a streaming output fails, the number of seconds to wait until a restart is initiated.
A value of 0 means never restart.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder salt(java.lang.String salt)
CfnChannel.HlsAkamaiSettingsProperty.getSalt()
salt
- The salt for authenticated Akamai.this
public CfnChannel.HlsAkamaiSettingsProperty.Builder token(java.lang.String token)
CfnChannel.HlsAkamaiSettingsProperty.getToken()
token
- The token parameter for authenticated Akamai.
If this is not specified, gda is used.this
public CfnChannel.HlsAkamaiSettingsProperty build()
CfnChannel.HlsAkamaiSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided