Class SrtCallerOutputProtocolProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SrtCallerOutputProtocolProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtCallerOutputProtocolProps>
- Enclosing interface:
SrtCallerOutputProtocolProps
@Stability(Experimental)
public static final class SrtCallerOutputProtocolProps.Builder
extends Object
implements software.amazon.jsii.Builder<SrtCallerOutputProtocolProps>
A builder for
SrtCallerOutputProtocolProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationAddress(String destinationAddress) Sets the value ofSrtCallerOutputProtocolProps.getDestinationAddress()destinationPort(Number destinationPort) Sets the value ofSrtCallerOutputProtocolProps.getDestinationPort()encryptionConfiguration(RouterSrtEncryption encryptionConfiguration) Sets the value ofSrtCallerOutputProtocolProps.getEncryptionConfiguration()minimumLatency(Duration minimumLatency) Sets the value ofSrtCallerOutputProtocolProps.getMinimumLatency()Sets the value ofSrtCallerOutputProtocolProps.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationAddress
@Stability(Experimental) public SrtCallerOutputProtocolProps.Builder destinationAddress(String destinationAddress) Sets the value ofSrtCallerOutputProtocolProps.getDestinationAddress()- Parameters:
destinationAddress- Destination IP address to connect to. This parameter is required.- Returns:
this
-
destinationPort
@Stability(Experimental) public SrtCallerOutputProtocolProps.Builder destinationPort(Number destinationPort) Sets the value ofSrtCallerOutputProtocolProps.getDestinationPort()- Parameters:
destinationPort- Destination port to connect to. This parameter is required.- Returns:
this
-
minimumLatency
@Stability(Experimental) public SrtCallerOutputProtocolProps.Builder minimumLatency(Duration minimumLatency) Sets the value ofSrtCallerOutputProtocolProps.getMinimumLatency()- Parameters:
minimumLatency- Minimum latency for SRT. This parameter is required.- Returns:
this
-
encryptionConfiguration
@Stability(Experimental) public SrtCallerOutputProtocolProps.Builder encryptionConfiguration(RouterSrtEncryption encryptionConfiguration) Sets the value ofSrtCallerOutputProtocolProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Optional encryption configuration for SRT streams.- Returns:
this
-
streamId
Sets the value ofSrtCallerOutputProtocolProps.getStreamId()- Parameters:
streamId- Optional stream ID for SRT connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtCallerOutputProtocolProps>- Returns:
- a new instance of
SrtCallerOutputProtocolProps - Throws:
NullPointerException- if any required attribute was not provided
-