Class CfnFlowVpcInterfaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowVpcInterfaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVpcInterfaceMixinProps>
- Enclosing interface:
CfnFlowVpcInterfaceMixinProps
@Stability(Stable)
public static final class CfnFlowVpcInterfaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVpcInterfaceMixinProps>
A builder for
CfnFlowVpcInterfaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowVpcInterfaceMixinProps.getFlowArn()Sets the value ofCfnFlowVpcInterfaceMixinProps.getName()Sets the value ofCfnFlowVpcInterfaceMixinProps.getRoleArn()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFlowVpcInterfaceMixinProps.getSecurityGroupIds()Sets the value ofCfnFlowVpcInterfaceMixinProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofCfnFlowVpcInterfaceMixinProps.getFlowArn()- Parameters:
flowArn- The Amazon Resource Name (ARN) of the flow.- Returns:
this
-
name
Sets the value ofCfnFlowVpcInterfaceMixinProps.getName()- Parameters:
name- The name for the VPC interface. This name must be unique within the flow.- Returns:
this
-
roleArn
Sets the value ofCfnFlowVpcInterfaceMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnFlowVpcInterfaceMixinProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFlowVpcInterfaceMixinProps.getSecurityGroupIds()- Parameters:
securityGroupIds- A virtual firewall to control inbound and outbound traffic.- Returns:
this
-
subnetId
Sets the value ofCfnFlowVpcInterfaceMixinProps.getSubnetId()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVpcInterfaceMixinProps>- Returns:
- a new instance of
CfnFlowVpcInterfaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-