public static final class CfnChannel.RtmpOutputSettingsProperty.Builder
extends java.lang.Object
CfnChannel.RtmpOutputSettingsProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.RtmpOutputSettingsProperty.Builder certificateMode(java.lang.String certificateMode)
CfnChannel.RtmpOutputSettingsProperty.getCertificateMode()
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.this
public CfnChannel.RtmpOutputSettingsProperty.Builder connectionRetryInterval(java.lang.Number connectionRetryInterval)
CfnChannel.RtmpOutputSettingsProperty.getConnectionRetryInterval()
connectionRetryInterval
- The number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.this
public CfnChannel.RtmpOutputSettingsProperty.Builder destination(IResolvable destination)
CfnChannel.RtmpOutputSettingsProperty.getDestination()
destination
- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).this
public CfnChannel.RtmpOutputSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination)
CfnChannel.RtmpOutputSettingsProperty.getDestination()
destination
- The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).this
public CfnChannel.RtmpOutputSettingsProperty.Builder numRetries(java.lang.Number numRetries)
CfnChannel.RtmpOutputSettingsProperty.getNumRetries()
numRetries
- The number of retry attempts.this
public CfnChannel.RtmpOutputSettingsProperty build()
CfnChannel.RtmpOutputSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided