Class RtpOutputConfig.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RtpOutputConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RtpOutputConfig>
- Enclosing interface:
RtpOutputConfig
@Stability(Experimental)
public static final class RtpOutputConfig.Builder
extends Object
implements software.amazon.jsii.Builder<RtpOutputConfig>
A builder for
RtpOutputConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(String destination) Sets the value ofRtpOutputConfig.getDestination()Sets the value ofRtpOutputConfig.getPort()smoothingLatency(Duration smoothingLatency) Sets the value ofRtpOutputConfig.getSmoothingLatency()vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofRtpOutputConfig.getVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofRtpOutputConfig.getDestination()- Parameters:
destination- The IP address where you want to send the output. This parameter is required.- Returns:
this
-
port
Sets the value ofRtpOutputConfig.getPort()- Parameters:
port- The port to use when content is distributed to this output. This parameter is required.- Returns:
this
-
smoothingLatency
Sets the value ofRtpOutputConfig.getSmoothingLatency()- Parameters:
smoothingLatency- The smoothing latency for RIST, RTP, and RTP-FEC streams.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Experimental) public RtpOutputConfig.Builder vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofRtpOutputConfig.getVpcInterfaceAttachment()- Parameters:
vpcInterfaceAttachment- The name of the VPC interface attachment to use for this output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RtpOutputConfig>- Returns:
- a new instance of
RtpOutputConfig - Throws:
NullPointerException- if any required attribute was not provided
-