public static final class CfnChannel.HlsBasicPutSettingsProperty.Builder
extends java.lang.Object
CfnChannel.HlsBasicPutSettingsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnChannel.HlsBasicPutSettingsProperty |
build()
Builds the configured instance.
|
CfnChannel.HlsBasicPutSettingsProperty.Builder |
connectionRetryInterval(java.lang.Number connectionRetryInterval)
Sets the value of
CfnChannel.HlsBasicPutSettingsProperty.getConnectionRetryInterval() |
CfnChannel.HlsBasicPutSettingsProperty.Builder |
filecacheDuration(java.lang.Number filecacheDuration)
Sets the value of
CfnChannel.HlsBasicPutSettingsProperty.getFilecacheDuration() |
CfnChannel.HlsBasicPutSettingsProperty.Builder |
numRetries(java.lang.Number numRetries)
Sets the value of
CfnChannel.HlsBasicPutSettingsProperty.getNumRetries() |
CfnChannel.HlsBasicPutSettingsProperty.Builder |
restartDelay(java.lang.Number restartDelay)
Sets the value of
CfnChannel.HlsBasicPutSettingsProperty.getRestartDelay() |
public CfnChannel.HlsBasicPutSettingsProperty.Builder connectionRetryInterval(java.lang.Number connectionRetryInterval)
CfnChannel.HlsBasicPutSettingsProperty.getConnectionRetryInterval()
connectionRetryInterval
- The number of seconds to wait before retrying a connection to the CDN if the connection is lost.this
public CfnChannel.HlsBasicPutSettingsProperty.Builder filecacheDuration(java.lang.Number filecacheDuration)
CfnChannel.HlsBasicPutSettingsProperty.getFilecacheDuration()
filecacheDuration
- The size, in seconds, of the file cache for streaming outputs.this
public CfnChannel.HlsBasicPutSettingsProperty.Builder numRetries(java.lang.Number numRetries)
CfnChannel.HlsBasicPutSettingsProperty.getNumRetries()
numRetries
- The number of retry attempts that MediaLive makes before the channel is put into an error state.this
public CfnChannel.HlsBasicPutSettingsProperty.Builder restartDelay(java.lang.Number restartDelay)
CfnChannel.HlsBasicPutSettingsProperty.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.HlsBasicPutSettingsProperty build()
CfnChannel.HlsBasicPutSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided