Class CfnFlowVpcInterface.Builder

java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowVpcInterface.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVpcInterface>
Enclosing class:
CfnFlowVpcInterface

@Stability(Stable) public static final class CfnFlowVpcInterface.Builder extends Object implements software.amazon.jsii.Builder<CfnFlowVpcInterface>
A fluent builder for CfnFlowVpcInterface.
  • Method Details

    • create

      @Stability(Stable) public static CfnFlowVpcInterface.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 CfnFlowVpcInterface.Builder.
    • flowArn

      @Stability(Stable) public CfnFlowVpcInterface.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 CfnFlowVpcInterface.Builder name(String name)
      The name of the VPC Interface.

      This value must be unique within the current flow.

      Parameters:
      name - The name of the VPC Interface. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnFlowVpcInterface.Builder roleArn(String roleArn)
      The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service. This parameter is required.
      Returns:
      this
    • securityGroupIds

      @Stability(Stable) public CfnFlowVpcInterface.Builder securityGroupIds(List<String> securityGroupIds)
      The VPC security groups that you want MediaConnect to use for your VPC configuration.

      You must include at least one security group in the request.

      Parameters:
      securityGroupIds - The VPC security groups that you want MediaConnect to use for your VPC configuration. This parameter is required.
      Returns:
      this
    • subnetId

      @Stability(Stable) public CfnFlowVpcInterface.Builder subnetId(String subnetId)
      The subnet IDs that you want to use for your VPC interface.

      A range of IP addresses in your VPC. When you create your VPC, you specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. This is the primary CIDR block for your VPC. When you create a subnet for your VPC, you specify the CIDR block for the subnet, which is a subset of the VPC CIDR block.

      The subnets that you use across all VPC interfaces on the flow must be in the same Availability Zone as the flow.

      Parameters:
      subnetId - The subnet IDs that you want to use for your VPC interface. This parameter is required.
      Returns:
      this
    • build

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