Class CfnVPNGatewayRoutePropagationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPNGatewayRoutePropagationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNGatewayRoutePropagationMixinProps>
- Enclosing interface:
CfnVPNGatewayRoutePropagationMixinProps
@Stability(Stable)
public static final class CfnVPNGatewayRoutePropagationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNGatewayRoutePropagationMixinProps>
A builder for
CfnVPNGatewayRoutePropagationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeTableIds(List<String> routeTableIds) Sets the value ofCfnVPNGatewayRoutePropagationMixinProps.getRouteTableIds()vpnGatewayId(String vpnGatewayId) Sets the value ofCfnVPNGatewayRoutePropagationMixinProps.getVpnGatewayId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeTableIds
@Stability(Stable) public CfnVPNGatewayRoutePropagationMixinProps.Builder routeTableIds(List<String> routeTableIds) Sets the value ofCfnVPNGatewayRoutePropagationMixinProps.getRouteTableIds()- Parameters:
routeTableIds- The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.- Returns:
this
-
vpnGatewayId
@Stability(Stable) public CfnVPNGatewayRoutePropagationMixinProps.Builder vpnGatewayId(String vpnGatewayId) Sets the value ofCfnVPNGatewayRoutePropagationMixinProps.getVpnGatewayId()- Parameters:
vpnGatewayId- The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNGatewayRoutePropagationMixinProps>- Returns:
- a new instance of
CfnVPNGatewayRoutePropagationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-