Class CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty>
- Enclosing interface:
CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty
@Stability(Stable)
public static final class CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterNetworkInterfacePropsMixin.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 CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The IDs of the security groups to associate with the router network interface within the VPC.- Returns:
this
-
subnetId
@Stability(Stable) public CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.Builder subnetId(String subnetId) Sets the value ofCfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty.getSubnetId()- Parameters:
subnetId- The ID of the subnet within the VPC to associate the router network interface with.- Returns:
this
-
build
@Stability(Stable) public CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty>- Returns:
- a new instance of
CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-