Class HlsWebdavCdnProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.HlsWebdavCdnProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HlsWebdavCdnProps>
- Enclosing interface:
HlsWebdavCdnProps
@Stability(Experimental)
public static final class HlsWebdavCdnProps.Builder
extends Object
implements software.amazon.jsii.Builder<HlsWebdavCdnProps>
A builder for
HlsWebdavCdnProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) Sets the value ofHlsWebdavCdnProps.getConnectionRetryInterval()filecacheDuration(Duration filecacheDuration) Sets the value ofHlsWebdavCdnProps.getFilecacheDuration()httpTransferMode(HttpTransferMode httpTransferMode) Sets the value ofHlsWebdavCdnProps.getHttpTransferMode()numRetries(Number numRetries) Sets the value ofHlsWebdavCdnProps.getNumRetries()restartDelay(Number restartDelay) Sets the value ofHlsWebdavCdnProps.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Experimental) public HlsWebdavCdnProps.Builder connectionRetryInterval(Number connectionRetryInterval) Sets the value ofHlsWebdavCdnProps.getConnectionRetryInterval()- Parameters:
connectionRetryInterval- The number of seconds to wait before retrying a connection to the CDN.- Returns:
this
-
filecacheDuration
@Stability(Experimental) public HlsWebdavCdnProps.Builder filecacheDuration(Duration filecacheDuration) Sets the value ofHlsWebdavCdnProps.getFilecacheDuration()- Parameters:
filecacheDuration- The size of the file cache for streaming outputs.- Returns:
this
-
httpTransferMode
@Stability(Experimental) public HlsWebdavCdnProps.Builder httpTransferMode(HttpTransferMode httpTransferMode) Sets the value ofHlsWebdavCdnProps.getHttpTransferMode()- Parameters:
httpTransferMode- Specifies whether to use chunked transfer encoding.- Returns:
this
-
numRetries
Sets the value ofHlsWebdavCdnProps.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
restartDelay
Sets the value ofHlsWebdavCdnProps.getRestartDelay()- Parameters:
restartDelay- The number of seconds to wait before restarting after a failure.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HlsWebdavCdnProps>- Returns:
- a new instance of
HlsWebdavCdnProps - Throws:
NullPointerException- if any required attribute was not provided
-