public static final class CfnFlowEntitlementProps.Builder
extends java.lang.Object
CfnFlowEntitlementProps
Constructor and Description |
---|
Builder() |
public CfnFlowEntitlementProps.Builder description(java.lang.String description)
CfnFlowEntitlementProps.getDescription()
description
- A description of the entitlement. This parameter is required.
This description appears only on the MediaConnect console and is not visible outside of the current AWS account.this
public CfnFlowEntitlementProps.Builder flowArn(java.lang.String flowArn)
CfnFlowEntitlementProps.getFlowArn()
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.this
public CfnFlowEntitlementProps.Builder name(java.lang.String name)
CfnFlowEntitlementProps.getName()
name
- The name of the entitlement. This parameter is required.
This value must be unique within the current flow.this
public CfnFlowEntitlementProps.Builder subscribers(java.util.List<java.lang.String> subscribers)
CfnFlowEntitlementProps.getSubscribers()
subscribers
- The AWS account IDs that you want to share your content with. This parameter is required.
The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.this
public CfnFlowEntitlementProps.Builder dataTransferSubscriberFeePercent(java.lang.Number dataTransferSubscriberFeePercent)
CfnFlowEntitlementProps.getDataTransferSubscriberFeePercent()
dataTransferSubscriberFeePercent
- The percentage of the entitlement data transfer fee that you want the subscriber to be responsible for.this
public CfnFlowEntitlementProps.Builder encryption(IResolvable encryption)
CfnFlowEntitlementProps.getEncryption()
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement.this
public CfnFlowEntitlementProps.Builder encryption(CfnFlowEntitlement.EncryptionProperty encryption)
CfnFlowEntitlementProps.getEncryption()
encryption
- The type of encryption that MediaConnect will use on the output that is associated with the entitlement.this
public CfnFlowEntitlementProps.Builder entitlementStatus(java.lang.String entitlementStatus)
CfnFlowEntitlementProps.getEntitlementStatus()
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.this
public CfnFlowEntitlementProps build()
CfnFlowEntitlementProps
java.lang.NullPointerException
- if any required attribute was not provided