Class SrtCallerDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SrtCallerDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtCallerDestinationProps>
- Enclosing interface:
SrtCallerDestinationProps
@Stability(Experimental)
public static final class SrtCallerDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<SrtCallerDestinationProps>
A builder for
SrtCallerDestinationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofSrtCallerDestinationProps.getAddress()build()Builds the configured instance.encryptionPassphraseSecret(ISecret encryptionPassphraseSecret) Sets the value ofSrtCallerDestinationProps.getEncryptionPassphraseSecret()Sets the value ofSrtCallerDestinationProps.getPort()Sets the value ofSrtCallerDestinationProps.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofSrtCallerDestinationProps.getAddress()- Parameters:
address- The address (IP or host) of the SRT listener to connect to. This parameter is required.- Returns:
this
-
encryptionPassphraseSecret
@Stability(Experimental) public SrtCallerDestinationProps.Builder encryptionPassphraseSecret(ISecret encryptionPassphraseSecret) Sets the value ofSrtCallerDestinationProps.getEncryptionPassphraseSecret()- Parameters:
encryptionPassphraseSecret- The Secrets Manager secret containing the encryption passphrase. This parameter is required. [disable-awslint:prefer-ref-interface]- Returns:
this
-
port
Sets the value ofSrtCallerDestinationProps.getPort()- Parameters:
port- The port of the SRT listener to connect to. This parameter is required.- Returns:
this
-
streamId
Sets the value ofSrtCallerDestinationProps.getStreamId()- Parameters:
streamId- The stream ID for the SRT connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtCallerDestinationProps>- Returns:
- a new instance of
SrtCallerDestinationProps - Throws:
NullPointerException- if any required attribute was not provided
-