Class CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsWebdavSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.HlsWebdavSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsWebdavSettingsProperty>
A builder for
CfnChannelPropsMixin.HlsWebdavSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getFilecacheDuration()httpTransferMode(String httpTransferMode) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getHttpTransferMode()numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getNumRetries()restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Stable) public CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) - 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 CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getFilecacheDuration()- Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
httpTransferMode
@Stability(Stable) public CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder httpTransferMode(String httpTransferMode) Sets the value ofCfnChannelPropsMixin.HlsWebdavSettingsProperty.getHttpTransferMode()- Parameters:
httpTransferMode- Specifies whether to use chunked transfer encoding to WebDAV.- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.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 CfnChannelPropsMixin.HlsWebdavSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.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<CfnChannelPropsMixin.HlsWebdavSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.HlsWebdavSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-