Class SrtPasswordEncryption.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SrtPasswordEncryption.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SrtPasswordEncryption>
- Enclosing interface:
SrtPasswordEncryption
@Stability(Experimental)
public static final class SrtPasswordEncryption.Builder
extends Object
implements software.amazon.jsii.Builder<SrtPasswordEncryption>
A builder for
SrtPasswordEncryption-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSrtPasswordEncryption.getRole()Sets the value ofSrtPasswordEncryption.getSecret()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secret
Sets the value ofSrtPasswordEncryption.getSecret()- Parameters:
secret- Secrets Manager secret containing the SRT passphrase. This parameter is required.- Returns:
this
-
role
Sets the value ofSrtPasswordEncryption.getRole()- Parameters:
role- IAM role that MediaConnect assumes to access the Secrets Manager secret. If provided, the role is used as-is; you must grant it the necessary permissions yourself.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SrtPasswordEncryption>- Returns:
- a new instance of
SrtPasswordEncryption - Throws:
NullPointerException- if any required attribute was not provided
-