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