Interface RtmpPushRouterOutputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RtmpPushRouterOutputConfiguration.Builder,,RtmpPushRouterOutputConfiguration> SdkBuilder<RtmpPushRouterOutputConfiguration.Builder,,RtmpPushRouterOutputConfiguration> SdkPojo
- Enclosing class:
RtmpPushRouterOutputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the RTMP application on the destination server.destinationAddress(String destinationAddress) The IP address or hostname of the destination RTMP server that the router output pushes the stream to.destinationPort(Integer destinationPort) The TCP port on the destination RTMP server.streamName(String streamName) The name of the RTMP stream that the output publishes to the destination application.tlsEncryption(Consumer<TlsEncryption.Builder> tlsEncryption) The TLS encryption settings for the output.tlsEncryption(TlsEncryption tlsEncryption) The TLS encryption settings for the output.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
The TCP port on the destination RTMP server. For RTMP, valid values range from
1024to65535. For RTMPS (RTMP over TLS), valid values are443or1024to65535. RTMP typically uses port1935, and RTMPS typically uses port443.- Parameters:
destinationPort- The TCP port on the destination RTMP server. For RTMP, valid values range from1024to65535. For RTMPS (RTMP over TLS), valid values are443or1024to65535. RTMP typically uses port1935, and RTMPS typically uses port443.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- 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 patternrtmp://destinationAddress/applicationName/streamName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
tlsEncryption
The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.
- Parameters:
tlsEncryption- The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsEncryption
default RtmpPushRouterOutputConfiguration.Builder tlsEncryption(Consumer<TlsEncryption.Builder> tlsEncryption) The TLS encryption settings for the output. When you specify these settings, the output uses RTMPS (RTMP over TLS) to establish a secure, encrypted connection to the destination server.
This is a convenience method that creates an instance of theTlsEncryption.Builderavoiding the need to create one manually viaTlsEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totlsEncryption(TlsEncryption).- Parameters:
tlsEncryption- a consumer that will call methods onTlsEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-