Class SrtCallerOutputConfig.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SrtCallerOutputConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtCallerOutputConfig>
- Enclosing interface:
SrtCallerOutputConfig
@Stability(Experimental)
public static final class SrtCallerOutputConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SrtCallerOutputConfig>
A builder for
SrtCallerOutputConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(String destination) Sets the value ofSrtCallerOutputConfig.getDestination()encryption(SrtPasswordEncryption encryption) Sets the value ofSrtCallerOutputConfig.getEncryption()minLatency(Duration minLatency) Sets the value ofSrtCallerOutputConfig.getMinLatency()Sets the value ofSrtCallerOutputConfig.getPort()Sets the value ofSrtCallerOutputConfig.getStreamId()vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofSrtCallerOutputConfig.getVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofSrtCallerOutputConfig.getDestination()- Parameters:
destination- The IP address where you want to send the output. This parameter is required.- Returns:
this
-
port
Sets the value ofSrtCallerOutputConfig.getPort()- Parameters:
port- The port to use when content is distributed to this output. This parameter is required.- Returns:
this
-
encryption
@Stability(Experimental) public SrtCallerOutputConfig.Builder encryption(SrtPasswordEncryption encryption) Sets the value ofSrtCallerOutputConfig.getEncryption()- Parameters:
encryption- SRT password encryption for this output.- Returns:
this
-
minLatency
Sets the value ofSrtCallerOutputConfig.getMinLatency()- Parameters:
minLatency- The minimum latency in milliseconds for SRT-based streams. The value you set on your MediaConnect output represents the minimal potential latency of that connection. The latency of the stream is set to the higher of the sender's minimum latency and the receiver's minimum latency.- Returns:
this
-
streamId
Sets the value ofSrtCallerOutputConfig.getStreamId()- Parameters:
streamId- The stream ID that you want to use for this transport.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Experimental) public SrtCallerOutputConfig.Builder vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofSrtCallerOutputConfig.getVpcInterfaceAttachment()- Parameters:
vpcInterfaceAttachment- The VPC interface attachment to use for this output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtCallerOutputConfig>- Returns:
- a new instance of
SrtCallerOutputConfig - Throws:
NullPointerException- if any required attribute was not provided
-