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 Details

    • create

      @Stability(Stable) public static CfnFlowEntitlement.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFlowEntitlement.Builder.
    • description

      @Stability(Stable) public CfnFlowEntitlement.Builder description(String 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

      @Stability(Stable) public CfnFlowEntitlement.Builder flowArn(String 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

      @Stability(Stable) public CfnFlowEntitlement.Builder name(String 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

      @Stability(Stable) public CfnFlowEntitlement.Builder subscribers(List<String> 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

      @Stability(Stable) public CfnFlowEntitlement.Builder encryption(IResolvable 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

      @Stability(Stable) public CfnFlowEntitlement.Builder entitlementStatus(String 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

      @Stability(Stable) public CfnFlowEntitlement build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFlowEntitlement>
      Returns:
      a newly built instance of CfnFlowEntitlement.