Class CfnChannel.RtmpOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.RtmpOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.RtmpOutputSettingsProperty>
- Enclosing interface:
CfnChannel.RtmpOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.RtmpOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.RtmpOutputSettingsProperty>
A builder for
CfnChannel.RtmpOutputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateMode(String certificateMode) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getCertificateMode()connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getConnectionRetryInterval()destination(IResolvable destination) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getDestination()destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getDestination()numRetries(Number numRetries) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getNumRetries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateMode
@Stability(Stable) public CfnChannel.RtmpOutputSettingsProperty.Builder certificateMode(String certificateMode) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getCertificateMode()- Parameters:
certificateMode- If set to verifyAuthenticity, verifies the TLS certificate chain to a trusted certificate authority (CA). This causes RTMPS outputs with self-signed certificates to fail.- Returns:
this
-
connectionRetryInterval
@Stability(Stable) public CfnChannel.RtmpOutputSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getConnectionRetryInterval()- Parameters:
connectionRetryInterval- The number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.RtmpOutputSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getDestination()- Parameters:
destination- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.RtmpOutputSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getDestination()- Parameters:
destination- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannel.RtmpOutputSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannel.RtmpOutputSettingsProperty.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.RtmpOutputSettingsProperty>- Returns:
- a new instance of
CfnChannel.RtmpOutputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-