Class CfnVPNConnectionRoutePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPNConnectionRoutePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConnectionRoutePropsMixin>
- Enclosing class:
CfnVPNConnectionRoutePropsMixin
@Stability(Stable)
public static final class CfnVPNConnectionRoutePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNConnectionRoutePropsMixin>
A fluent builder for
CfnVPNConnectionRoutePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationCidrBlock(String destinationCidrBlock) The CIDR block associated with the local subnet of the customer network.vpnConnectionId(String vpnConnectionId) The ID of the VPN connection.vpnConnectionId(IVPNConnectionRef vpnConnectionId) The ID of the VPN connection.
-
Method Details
-
create
@Stability(Stable) public static CfnVPNConnectionRoutePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVPNConnectionRoutePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVPNConnectionRoutePropsMixin.Builder.
-
destinationCidrBlock
@Stability(Stable) public CfnVPNConnectionRoutePropsMixin.Builder destinationCidrBlock(String destinationCidrBlock) The CIDR block associated with the local subnet of the customer network.- Parameters:
destinationCidrBlock- The CIDR block associated with the local subnet of the customer network. This parameter is required.- Returns:
this- See Also:
-
vpnConnectionId
@Stability(Stable) public CfnVPNConnectionRoutePropsMixin.Builder vpnConnectionId(String vpnConnectionId) The ID of the VPN connection.- Parameters:
vpnConnectionId- The ID of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnConnectionId
@Stability(Stable) public CfnVPNConnectionRoutePropsMixin.Builder vpnConnectionId(IVPNConnectionRef vpnConnectionId) The ID of the VPN connection.- Parameters:
vpnConnectionId- The ID of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNConnectionRoutePropsMixin>- Returns:
- a newly built instance of
CfnVPNConnectionRoutePropsMixin.
-