Class CfnChannel.HlsBasicPutSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.HlsBasicPutSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.HlsBasicPutSettingsProperty>
- Enclosing interface:
CfnChannel.HlsBasicPutSettingsProperty
@Stability(Stable)
public static final class CfnChannel.HlsBasicPutSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.HlsBasicPutSettingsProperty>
A builder for
CfnChannel.HlsBasicPutSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getConnectionRetryInterval()filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getFilecacheDuration()numRetries(Number numRetries) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getNumRetries()restartDelay(Number restartDelay) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Stable) public CfnChannel.HlsBasicPutSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.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.HlsBasicPutSettingsProperty.Builder filecacheDuration(Number filecacheDuration) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getFilecacheDuration()- Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannel.HlsBasicPutSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.getNumRetries()- Parameters:
numRetries- The number of retry attempts that MediaLive makes before the channel is put into an error state.- Returns:
this
-
restartDelay
@Stability(Stable) public CfnChannel.HlsBasicPutSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannel.HlsBasicPutSettingsProperty.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.HlsBasicPutSettingsProperty>- Returns:
- a new instance of
CfnChannel.HlsBasicPutSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-