Class CfnChannel.HlsWebdavSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.HlsWebdavSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.HlsWebdavSettingsProperty>
- Enclosing interface:
- CfnChannel.HlsWebdavSettingsProperty
@Stability(Stable)
public static final class CfnChannel.HlsWebdavSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.HlsWebdavSettingsProperty>
A builder for
CfnChannel.HlsWebdavSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getConnectionRetryInterval()filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getFilecacheDuration()httpTransferMode(String httpTransferMode) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getHttpTransferMode()numRetries(Number numRetries) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getNumRetries()restartDelay(Number restartDelay) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Stable) public CfnChannel.HlsWebdavSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getConnectionRetryInterval()- Parameters:
connectionRetryInterval- The number of seconds to wait before retrying a connection to the CDN if the connection is lost.- Returns:
this
-
filecacheDuration
@Stability(Stable) public CfnChannel.HlsWebdavSettingsProperty.Builder filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getFilecacheDuration()- Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
httpTransferMode
@Stability(Stable) public CfnChannel.HlsWebdavSettingsProperty.Builder httpTransferMode(String httpTransferMode) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getHttpTransferMode()- Parameters:
httpTransferMode- Specifies whether to use chunked transfer encoding to WebDAV.- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannel.HlsWebdavSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getNumRetries()- Parameters:
numRetries- The number of retry attempts that are made before the channel is put into an error state.- Returns:
this
-
restartDelay
@Stability(Stable) public CfnChannel.HlsWebdavSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannel.HlsWebdavSettingsProperty.getRestartDelay()- Parameters:
restartDelay- If a streaming output fails, the number of seconds to wait until a restart is initiated. A value of 0 means never restart.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.HlsWebdavSettingsProperty>- Returns:
- a new instance of
CfnChannel.HlsWebdavSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-