Class EntitlementSource.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.EntitlementSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EntitlementSource>
- Enclosing interface:
EntitlementSource
@Stability(Experimental)
public static final class EntitlementSource.Builder
extends Object
implements software.amazon.jsii.Builder<EntitlementSource>
A builder for
EntitlementSource-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.decryption(StaticKeyEncryption decryption) Sets the value ofEntitlementSource.getDecryption()entitlement(IFlowEntitlement entitlement) Sets the value ofEntitlementSource.getEntitlement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entitlement
Sets the value ofEntitlementSource.getEntitlement()- Parameters:
entitlement- The entitlement that allows you to subscribe to content that comes from another AWS account. This parameter is required.- Returns:
this
-
decryption
@Stability(Experimental) public EntitlementSource.Builder decryption(StaticKeyEncryption decryption) Sets the value ofEntitlementSource.getDecryption()- Parameters:
decryption- Options to decrypt incoming feed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EntitlementSource>- Returns:
- a new instance of
EntitlementSource - Throws:
NullPointerException- if any required attribute was not provided
-