Class CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty>
- Enclosing interface:
CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty
@Stability(Stable)
public static final class CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterOutputPropsMixin.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(CfnRouterOutputPropsMixin.TlsEncryptionProperty tlsEncryption) tlsEncryption(IResolvable tlsEncryption)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder applicationName(String applicationName) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getApplicationName()- Parameters:
applicationName- The name of the RTMP application on the destination server. 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 CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder destinationAddress(String destinationAddress) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getDestinationAddress()- Parameters:
destinationAddress- The IP address or hostname of the destination RTMP server that the router output pushes the stream to. Provide only the server address; specify the application and stream names separately.- Returns:
this
-
destinationPort
@Stability(Stable) public CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder destinationPort(Number destinationPort) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getDestinationPort()- Parameters:
destinationPort- The TCP port on the destination RTMP server. 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 CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder streamName(String streamName) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getStreamName()- Parameters:
streamName- The name of the RTMP stream that the output publishes to the destination application. The stream name forms the final segment of the RTMP URL path.- Returns:
this
-
tlsEncryption
@Stability(Stable) public CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder tlsEncryption(IResolvable tlsEncryption) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getTlsEncryption()- Parameters:
tlsEncryption- The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.- Returns:
this
-
tlsEncryption
@Stability(Stable) public CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.Builder tlsEncryption(CfnRouterOutputPropsMixin.TlsEncryptionProperty tlsEncryption) Sets the value ofCfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty.getTlsEncryption()- Parameters:
tlsEncryption- The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.- Returns:
this
-
build
@Stability(Stable) public CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty>- Returns:
- a new instance of
CfnRouterOutputPropsMixin.RtmpPushRouterOutputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-