Class HlsBasicPutCdnProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.HlsBasicPutCdnProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HlsBasicPutCdnProps>
- Enclosing interface:
HlsBasicPutCdnProps
@Stability(Experimental)
public static final class HlsBasicPutCdnProps.Builder
extends Object
implements software.amazon.jsii.Builder<HlsBasicPutCdnProps>
A builder for
HlsBasicPutCdnProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionRetryInterval(Number connectionRetryInterval) Sets the value ofHlsBasicPutCdnProps.getConnectionRetryInterval()filecacheDuration(Duration filecacheDuration) Sets the value ofHlsBasicPutCdnProps.getFilecacheDuration()numRetries(Number numRetries) Sets the value ofHlsBasicPutCdnProps.getNumRetries()restartDelay(Number restartDelay) Sets the value ofHlsBasicPutCdnProps.getRestartDelay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionRetryInterval
@Stability(Experimental) public HlsBasicPutCdnProps.Builder connectionRetryInterval(Number connectionRetryInterval) Sets the value ofHlsBasicPutCdnProps.getConnectionRetryInterval()- Parameters:
connectionRetryInterval- The number of seconds to wait before retrying a connection to the CDN.- Returns:
this
-
filecacheDuration
@Stability(Experimental) public HlsBasicPutCdnProps.Builder filecacheDuration(Duration filecacheDuration) Sets the value ofHlsBasicPutCdnProps.getFilecacheDuration()- Parameters:
filecacheDuration- The size of the file cache for streaming outputs.- Returns:
this
-
numRetries
Sets the value ofHlsBasicPutCdnProps.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
restartDelay
Sets the value ofHlsBasicPutCdnProps.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<HlsBasicPutCdnProps>- Returns:
- a new instance of
HlsBasicPutCdnProps - Throws:
NullPointerException- if any required attribute was not provided
-