public static final class CfnFlowEntitlement.Builder
extends java.lang.Object
CfnFlowEntitlement
.Modifier and Type | Method and Description |
---|---|
CfnFlowEntitlement |
build() |
static CfnFlowEntitlement.Builder |
create(Construct scope,
java.lang.String id) |
CfnFlowEntitlement.Builder |
dataTransferSubscriberFeePercent(java.lang.Number dataTransferSubscriberFeePercent)
The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.
|
CfnFlowEntitlement.Builder |
description(java.lang.String description)
A description of the entitlement.
|
CfnFlowEntitlement.Builder |
encryption(CfnFlowEntitlement.EncryptionProperty encryption)
The type of encryption that MediaConnect will use on the output that is associated with the entitlement.
|
CfnFlowEntitlement.Builder |
encryption(IResolvable encryption)
The type of encryption that MediaConnect will use on the output that is associated with the entitlement.
|
CfnFlowEntitlement.Builder |
entitlementStatus(java.lang.String entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
|
CfnFlowEntitlement.Builder |
flowArn(java.lang.String flowArn)
The Amazon Resource Name (ARN) of the flow.
|
CfnFlowEntitlement.Builder |
name(java.lang.String name)
The name of the entitlement.
|
CfnFlowEntitlement.Builder |
subscribers(java.util.List<java.lang.String> subscribers)
The AWS account IDs that you want to share your content with.
|
public static CfnFlowEntitlement.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnFlowEntitlement.EncryptionProperty.Builder
.public CfnFlowEntitlement.Builder description(java.lang.String description)
This description appears only on the MediaConnect console and is not visible outside of the current AWS account.
description
- A description of the entitlement. This parameter is required.this
public CfnFlowEntitlement.Builder flowArn(java.lang.String flowArn)
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.this
public CfnFlowEntitlement.Builder name(java.lang.String name)
This value must be unique within the current flow.
name
- The name of the entitlement. This parameter is required.this
public CfnFlowEntitlement.Builder subscribers(java.util.List<java.lang.String> subscribers)
The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.
subscribers
- The AWS account IDs that you want to share your content with. This parameter is required.this
public CfnFlowEntitlement.Builder dataTransferSubscriberFeePercent(java.lang.Number dataTransferSubscriberFeePercent)
dataTransferSubscriberFeePercent
- The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for. This parameter is required.this
public CfnFlowEntitlement.Builder encryption(IResolvable encryption)
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement. This parameter is required.this
public CfnFlowEntitlement.Builder encryption(CfnFlowEntitlement.EncryptionProperty encryption)
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement. This parameter is required.this
public CfnFlowEntitlement.Builder entitlementStatus(java.lang.String entitlementStatus)
If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.
entitlementStatus
- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. This parameter is required.this
public CfnFlowEntitlement build()