Class CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty>
- Enclosing interface:
CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty
@Stability(Stable)
public static final class CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) build()Builds the configured instance.destinationAddress(String destinationAddress) destinationPort(Number destinationPort) streamName(String streamName) tlsEncryption(IResolvable tlsEncryption) tlsEncryption(CfnRouterOutput.TlsEncryptionProperty tlsEncryption)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder applicationName(String applicationName) - Parameters:
applicationName- The name of the RTMP application on the destination server. This parameter is required. Together with the stream name, the application name forms the RTMP URL path, in the pattern rtmp://destinationAddress/applicationName/streamName.- Returns:
this
-
destinationAddress
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder destinationAddress(String destinationAddress) - Parameters:
destinationAddress- The IP address or hostname of the destination RTMP server that the router output pushes the stream to. This parameter is required. Provide only the server address; specify the application and stream names separately.- Returns:
this
-
destinationPort
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder destinationPort(Number destinationPort) - Parameters:
destinationPort- The TCP port on the destination RTMP server. This parameter is required. For RTMP, valid values range from 1024 to 65535. For RTMPS (RTMP over TLS), valid values are 443 or 1024 to 65535. RTMP typically uses port 1935, and RTMPS typically uses port 443.- Returns:
this
-
streamName
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder streamName(String streamName) - Parameters:
streamName- The name of the RTMP stream that the output publishes to the destination application. This parameter is required. The stream name forms the final segment of the RTMP URL path.- Returns:
this
-
tlsEncryption
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder tlsEncryption(IResolvable tlsEncryption) - Parameters:
tlsEncryption- The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.- Returns:
this
-
tlsEncryption
@Stability(Stable) public CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty.Builder tlsEncryption(CfnRouterOutput.TlsEncryptionProperty tlsEncryption) - Parameters:
tlsEncryption- The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty>- Returns:
- a new instance of
CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-