Class CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty>
- Enclosing interface:
CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty
@Stability(Stable)
public static final class CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The IDs of the security groups to associate with the router network interface within the VPC. This parameter is required.- Returns:
this
-
subnetId
@Stability(Stable) public CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.Builder subnetId(String subnetId) Sets the value ofCfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty.getSubnetId()- Parameters:
subnetId- The ID of the subnet within the VPC to associate the router network interface with. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty>- Returns:
- a new instance of
CfnRouterNetworkInterface.VpcRouterNetworkInterfaceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-