Class CfnFlowEntitlement.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowEntitlement>
- Enclosing class:
CfnFlowEntitlement
@Stability(Stable)
public static final class CfnFlowEntitlement.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowEntitlement>
A fluent builder for
CfnFlowEntitlement
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFlowEntitlement.Builder
dataTransferSubscriberFeePercent
(Number dataTransferSubscriberFeePercent) The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.description
(String description) A description of the entitlement.encryption
(IResolvable encryption) The type of encryption that MediaConnect will use on the output that is associated with the entitlement.encryption
(CfnFlowEntitlement.EncryptionProperty encryption) The type of encryption that MediaConnect will use on the output that is associated with the entitlement.entitlementStatus
(String entitlementStatus) An indication of whether the new entitlement should be enabled or disabled as soon as it is created.The Amazon Resource Name (ARN) of the flow.The name of the entitlement.subscribers
(List<String> subscribers) The AWS account IDs that you want to share your content with.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFlowEntitlement.Builder
.
-
description
A description of the entitlement.This description appears only on the MediaConnect console and is not visible outside of the current AWS account.
- Parameters:
description
- A description of the entitlement. This parameter is required.- Returns:
this
-
flowArn
The Amazon Resource Name (ARN) of the flow.- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.- Returns:
this
-
name
The name of the entitlement.This value must be unique within the current flow.
- Parameters:
name
- The name of the entitlement. This parameter is required.- Returns:
this
-
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.
- Parameters:
subscribers
- The AWS account IDs that you want to share your content with. This parameter is required.- Returns:
this
-
dataTransferSubscriberFeePercent
@Stability(Stable) public CfnFlowEntitlement.Builder dataTransferSubscriberFeePercent(Number dataTransferSubscriberFeePercent) The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.- Parameters:
dataTransferSubscriberFeePercent
- The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for. This parameter is required.- Returns:
this
-
encryption
The type of encryption that MediaConnect will use on the output that is associated with the entitlement.- Parameters:
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement. This parameter is required.- Returns:
this
-
encryption
@Stability(Stable) public CfnFlowEntitlement.Builder encryption(CfnFlowEntitlement.EncryptionProperty encryption) The type of encryption that MediaConnect will use on the output that is associated with the entitlement.- Parameters:
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement. This parameter is required.- Returns:
this
-
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.
- Parameters:
entitlementStatus
- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowEntitlement>
- Returns:
- a newly built instance of
CfnFlowEntitlement
.
-