Class CfnFlowVpcInterfaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowVpcInterfaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVpcInterfaceProps>
- Enclosing interface:
CfnFlowVpcInterfaceProps
@Stability(Stable)
public static final class CfnFlowVpcInterfaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVpcInterfaceProps>
A builder for
CfnFlowVpcInterfaceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFlowVpcInterfaceProps.getFlowArn()
Sets the value ofCfnFlowVpcInterfaceProps.getName()
Sets the value ofCfnFlowVpcInterfaceProps.getRoleArn()
securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnFlowVpcInterfaceProps.getSecurityGroupIds()
Sets the value ofCfnFlowVpcInterfaceProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofCfnFlowVpcInterfaceProps.getFlowArn()
- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnFlowVpcInterfaceProps.getName()
- Parameters:
name
- The name of the VPC Interface. This parameter is required. This value must be unique within the current flow.- Returns:
this
-
roleArn
Sets the value ofCfnFlowVpcInterfaceProps.getRoleArn()
- 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 CfnFlowVpcInterfaceProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFlowVpcInterfaceProps.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The VPC security groups that you want MediaConnect to use for your VPC configuration. This parameter is required. You must include at least one security group in the request.- Returns:
this
-
subnetId
Sets the value ofCfnFlowVpcInterfaceProps.getSubnetId()
- Parameters:
subnetId
- The subnet IDs that you want to use for your VPC interface. This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowVpcInterfaceProps>
- Returns:
- a new instance of
CfnFlowVpcInterfaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-