Class SrtCallerSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SrtCallerSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtCallerSourceProps>
- Enclosing interface:
SrtCallerSourceProps
@Stability(Experimental)
public static final class SrtCallerSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<SrtCallerSourceProps>
A builder for
SrtCallerSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.decryption(SrtDecryptionProps decryption) Sets the value ofSrtCallerSourceProps.getDecryption()minimumLatency(Duration minimumLatency) Sets the value ofSrtCallerSourceProps.getMinimumLatency()srtListenerAddress(String srtListenerAddress) Sets the value ofSrtCallerSourceProps.getSrtListenerAddress()srtListenerPort(Number srtListenerPort) Sets the value ofSrtCallerSourceProps.getSrtListenerPort()Sets the value ofSrtCallerSourceProps.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
srtListenerAddress
@Stability(Experimental) public SrtCallerSourceProps.Builder srtListenerAddress(String srtListenerAddress) Sets the value ofSrtCallerSourceProps.getSrtListenerAddress()- Parameters:
srtListenerAddress- The address of the SRT listener to connect to. This parameter is required.- Returns:
this
-
srtListenerPort
@Stability(Experimental) public SrtCallerSourceProps.Builder srtListenerPort(Number srtListenerPort) Sets the value ofSrtCallerSourceProps.getSrtListenerPort()- Parameters:
srtListenerPort- The port of the SRT listener. This parameter is required.- Returns:
this
-
decryption
@Stability(Experimental) public SrtCallerSourceProps.Builder decryption(SrtDecryptionProps decryption) Sets the value ofSrtCallerSourceProps.getDecryption()- Parameters:
decryption- Decryption settings for the SRT connection.- Returns:
this
-
minimumLatency
@Stability(Experimental) public SrtCallerSourceProps.Builder minimumLatency(Duration minimumLatency) Sets the value ofSrtCallerSourceProps.getMinimumLatency()- Parameters:
minimumLatency- The minimum latency.- Returns:
this
-
streamId
Sets the value ofSrtCallerSourceProps.getStreamId()- Parameters:
streamId- The stream ID for the SRT connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtCallerSourceProps>- Returns:
- a new instance of
SrtCallerSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-