Class CfnVPCGatewayAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCGatewayAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCGatewayAttachmentPropsMixin>
- Enclosing class:
CfnVPCGatewayAttachmentPropsMixin
@Stability(Stable)
public static final class CfnVPCGatewayAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCGatewayAttachmentPropsMixin>
A fluent builder for
CfnVPCGatewayAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) internetGatewayId(String internetGatewayId) The ID of the internet gateway.internetGatewayId(IInternetGatewayRef internetGatewayId) The ID of the internet gateway.The ID of the VPC.The ID of the VPC.vpnGatewayId(String vpnGatewayId) The ID of the virtual private gateway.vpnGatewayId(IVPNGatewayRef vpnGatewayId) The ID of the virtual private gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCGatewayAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVPCGatewayAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVPCGatewayAttachmentPropsMixin.Builder.
-
internetGatewayId
@Stability(Stable) public CfnVPCGatewayAttachmentPropsMixin.Builder internetGatewayId(String internetGatewayId) The ID of the internet gateway.You must specify either
InternetGatewayIdorVpnGatewayId, but not both.- Parameters:
internetGatewayId- The ID of the internet gateway. This parameter is required.- Returns:
this- See Also:
-
internetGatewayId
@Stability(Stable) public CfnVPCGatewayAttachmentPropsMixin.Builder internetGatewayId(IInternetGatewayRef internetGatewayId) The ID of the internet gateway.You must specify either
InternetGatewayIdorVpnGatewayId, but not both.- Parameters:
internetGatewayId- The ID of the internet gateway. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
vpnGatewayId
@Stability(Stable) public CfnVPCGatewayAttachmentPropsMixin.Builder vpnGatewayId(String vpnGatewayId) The ID of the virtual private gateway.You must specify either
InternetGatewayIdorVpnGatewayId, but not both.- Parameters:
vpnGatewayId- The ID of the virtual private gateway. This parameter is required.- Returns:
this- See Also:
-
vpnGatewayId
@Stability(Stable) public CfnVPCGatewayAttachmentPropsMixin.Builder vpnGatewayId(IVPNGatewayRef vpnGatewayId) The ID of the virtual private gateway.You must specify either
InternetGatewayIdorVpnGatewayId, but not both.- Parameters:
vpnGatewayId- The ID of the virtual private gateway. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCGatewayAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnVPCGatewayAttachmentPropsMixin.
-