Class RistOutputConfig.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RistOutputConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RistOutputConfig>
- Enclosing interface:
RistOutputConfig
@Stability(Experimental)
public static final class RistOutputConfig.Builder
extends Object
implements software.amazon.jsii.Builder<RistOutputConfig>
A builder for
RistOutputConfig-
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
@Stability(Experimental) public RistOutputConfig.Builder smoothingLatency(Duration smoothingLatency) Sets the value ofRtpOutputConfig.getSmoothingLatency()- Parameters:
smoothingLatency- The smoothing latency for RIST, RTP, and RTP-FEC streams.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Experimental) public RistOutputConfig.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<RistOutputConfig>- Returns:
- a new instance of
RistOutputConfig - Throws:
NullPointerException- if any required attribute was not provided
-