public static final class CfnFlowVpcInterfaceProps.Builder
extends java.lang.Object
CfnFlowVpcInterfaceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFlowVpcInterfaceProps |
build()
Builds the configured instance.
|
CfnFlowVpcInterfaceProps.Builder |
flowArn(java.lang.String flowArn)
Sets the value of
CfnFlowVpcInterfaceProps.getFlowArn() |
CfnFlowVpcInterfaceProps.Builder |
name(java.lang.String name)
Sets the value of
CfnFlowVpcInterfaceProps.getName() |
CfnFlowVpcInterfaceProps.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnFlowVpcInterfaceProps.getRoleArn() |
CfnFlowVpcInterfaceProps.Builder |
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
Sets the value of
CfnFlowVpcInterfaceProps.getSecurityGroupIds() |
CfnFlowVpcInterfaceProps.Builder |
subnetId(java.lang.String subnetId)
Sets the value of
CfnFlowVpcInterfaceProps.getSubnetId() |
public CfnFlowVpcInterfaceProps.Builder flowArn(java.lang.String flowArn)
CfnFlowVpcInterfaceProps.getFlowArn()
flowArn
- The Amazon Resource Name (ARN) of the flow. This parameter is required.this
public CfnFlowVpcInterfaceProps.Builder name(java.lang.String name)
CfnFlowVpcInterfaceProps.getName()
name
- The name of the VPC Interface. This parameter is required.
This value must be unique within the current flow.this
public CfnFlowVpcInterfaceProps.Builder roleArn(java.lang.String roleArn)
CfnFlowVpcInterfaceProps.getRoleArn()
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.this
public CfnFlowVpcInterfaceProps.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
CfnFlowVpcInterfaceProps.getSecurityGroupIds()
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.this
public CfnFlowVpcInterfaceProps.Builder subnetId(java.lang.String subnetId)
CfnFlowVpcInterfaceProps.getSubnetId()
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.
this
public CfnFlowVpcInterfaceProps build()
CfnFlowVpcInterfaceProps
java.lang.NullPointerException
- if any required attribute was not provided