Class RouterSrtEncryption.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RouterSrtEncryption.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouterSrtEncryption>
- Enclosing interface:
RouterSrtEncryption
@Stability(Experimental)
public static final class RouterSrtEncryption.Builder
extends Object
implements software.amazon.jsii.Builder<RouterSrtEncryption>
A builder for
RouterSrtEncryption-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRouterSrtEncryption.getRole()Sets the value ofRouterSrtEncryption.getSecret()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secret
Sets the value ofRouterSrtEncryption.getSecret()- Parameters:
secret- Secrets Manager secret containing the SRT passphrase. This parameter is required.- Returns:
this
-
role
Sets the value ofRouterSrtEncryption.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<RouterSrtEncryption>- Returns:
- a new instance of
RouterSrtEncryption - Throws:
NullPointerException- if any required attribute was not provided
-