Class SrtDecryptionProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SrtDecryptionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtDecryptionProps>
- Enclosing interface:
SrtDecryptionProps
@Stability(Experimental)
public static final class SrtDecryptionProps.Builder
extends Object
implements software.amazon.jsii.Builder<SrtDecryptionProps>
A builder for
SrtDecryptionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithm(SrtDecryptionAlgorithm algorithm) Sets the value ofSrtDecryptionProps.getAlgorithm()build()Builds the configured instance.passphraseSecret(ISecret passphraseSecret) Sets the value ofSrtDecryptionProps.getPassphraseSecret()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithm
@Stability(Experimental) public SrtDecryptionProps.Builder algorithm(SrtDecryptionAlgorithm algorithm) Sets the value ofSrtDecryptionProps.getAlgorithm()- Parameters:
algorithm- The encryption algorithm.- Returns:
this
-
passphraseSecret
@Stability(Experimental) public SrtDecryptionProps.Builder passphraseSecret(ISecret passphraseSecret) Sets the value ofSrtDecryptionProps.getPassphraseSecret()- Parameters:
passphraseSecret- The Secrets Manager secret containing the passphrase used to decrypt the content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtDecryptionProps>- Returns:
- a new instance of
SrtDecryptionProps - Throws:
NullPointerException- if any required attribute was not provided
-