Class CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsMediaStoreSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.HlsMediaStoreSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.HlsMediaStoreSettingsProperty>
A builder for
CfnChannelPropsMixin.HlsMediaStoreSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) filecacheDuration(Number filecacheDuration) mediaStoreStorageClass(String mediaStoreStorageClass) numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.HlsMediaStoreSettingsProperty.getNumRetries()restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.HlsMediaStoreSettingsProperty.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Stable) public CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.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.HlsMediaStoreSettingsProperty.Builder filecacheDuration(Number filecacheDuration) - Parameters:
filecacheDuration- The size, in seconds, of the file cache for streaming outputs.- Returns:
this
-
mediaStoreStorageClass
@Stability(Stable) public CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.Builder mediaStoreStorageClass(String mediaStoreStorageClass) - Parameters:
mediaStoreStorageClass- When set to temporal, output files are stored in non-persistent memory for faster reading and writing.- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannelPropsMixin.HlsMediaStoreSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.HlsMediaStoreSettingsProperty.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.HlsMediaStoreSettingsProperty.Builder restartDelay(Number restartDelay) Sets the value ofCfnChannelPropsMixin.HlsMediaStoreSettingsProperty.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.HlsMediaStoreSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.HlsMediaStoreSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-