Class CfnFlowEntitlementMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowEntitlementMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowEntitlementMixinProps>
- Enclosing interface:
CfnFlowEntitlementMixinProps
@Stability(Stable)
public static final class CfnFlowEntitlementMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowEntitlementMixinProps>
A builder for
CfnFlowEntitlementMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataTransferSubscriberFeePercent(Number dataTransferSubscriberFeePercent) Sets the value ofCfnFlowEntitlementMixinProps.getDataTransferSubscriberFeePercent()description(String description) Sets the value ofCfnFlowEntitlementMixinProps.getDescription()Sets the value ofCfnFlowEntitlementMixinProps.getEncryption()encryption(IResolvable encryption) Sets the value ofCfnFlowEntitlementMixinProps.getEncryption()entitlementStatus(String entitlementStatus) Sets the value ofCfnFlowEntitlementMixinProps.getEntitlementStatus()Sets the value ofCfnFlowEntitlementMixinProps.getFlowArn()Sets the value ofCfnFlowEntitlementMixinProps.getName()subscribers(List<String> subscribers) Sets the value ofCfnFlowEntitlementMixinProps.getSubscribers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataTransferSubscriberFeePercent
@Stability(Stable) public CfnFlowEntitlementMixinProps.Builder dataTransferSubscriberFeePercent(Number dataTransferSubscriberFeePercent) Sets the value ofCfnFlowEntitlementMixinProps.getDataTransferSubscriberFeePercent()- Parameters:
dataTransferSubscriberFeePercent- The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.- Returns:
this
-
description
Sets the value ofCfnFlowEntitlementMixinProps.getDescription()- Parameters:
description- A description of the entitlement. This description appears only on the MediaConnect console and is not visible outside of the current AWS account.- Returns:
this
-
encryption
Sets the value ofCfnFlowEntitlementMixinProps.getEncryption()- Parameters:
encryption- Encryption information.- Returns:
this
-
encryption
@Stability(Stable) public CfnFlowEntitlementMixinProps.Builder encryption(CfnFlowEntitlementPropsMixin.EncryptionProperty encryption) Sets the value ofCfnFlowEntitlementMixinProps.getEncryption()- Parameters:
encryption- Encryption information.- Returns:
this
-
entitlementStatus
@Stability(Stable) public CfnFlowEntitlementMixinProps.Builder entitlementStatus(String entitlementStatus) Sets the value ofCfnFlowEntitlementMixinProps.getEntitlementStatus()- Parameters:
entitlementStatus- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.- Returns:
this
-
flowArn
Sets the value ofCfnFlowEntitlementMixinProps.getFlowArn()- Parameters:
flowArn- The Amazon Resource Name (ARN) of the flow.- Returns:
this
-
name
Sets the value ofCfnFlowEntitlementMixinProps.getName()- Parameters:
name- The name of the entitlement. This value must be unique within the current flow.- Returns:
this
-
subscribers
@Stability(Stable) public CfnFlowEntitlementMixinProps.Builder subscribers(List<String> subscribers) Sets the value ofCfnFlowEntitlementMixinProps.getSubscribers()- Parameters:
subscribers- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowEntitlementMixinProps>- Returns:
- a new instance of
CfnFlowEntitlementMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-