Class CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpOutputSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.RtmpOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpOutputSettingsProperty>
A builder for
CfnChannelPropsMixin.RtmpOutputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateMode(String certificateMode) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getCertificateMode()connectionRetryInterval(Number connectionRetryInterval) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getDestination()destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getDestination()numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getNumRetries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateMode
@Stability(Stable) public CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder certificateMode(String certificateMode) Sets the value ofCfnChannelPropsMixin.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 CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder connectionRetryInterval(Number connectionRetryInterval) - 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 CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getDestination()- Parameters:
destination- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).- Returns:
this
-
destination
@Stability(Stable) public CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder destination(CfnChannelPropsMixin.OutputLocationRefProperty destination) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getDestination()- Parameters:
destination- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).- Returns:
this
-
numRetries
@Stability(Stable) public CfnChannelPropsMixin.RtmpOutputSettingsProperty.Builder numRetries(Number numRetries) Sets the value ofCfnChannelPropsMixin.RtmpOutputSettingsProperty.getNumRetries()- Parameters:
numRetries- The number of retry attempts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.RtmpOutputSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.RtmpOutputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-