public static final class CfnVPCGatewayAttachment.Builder
extends java.lang.Object
CfnVPCGatewayAttachment
.Modifier and Type | Method and Description |
---|---|
CfnVPCGatewayAttachment |
build() |
static CfnVPCGatewayAttachment.Builder |
create(Construct scope,
java.lang.String id) |
CfnVPCGatewayAttachment.Builder |
internetGatewayId(java.lang.String internetGatewayId)
The ID of the internet gateway.
|
CfnVPCGatewayAttachment.Builder |
vpcId(java.lang.String vpcId)
The ID of the VPC.
|
CfnVPCGatewayAttachment.Builder |
vpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway.
|
public static CfnVPCGatewayAttachment.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnVPCGatewayAttachment.Builder
.public CfnVPCGatewayAttachment.Builder vpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC. This parameter is required.this
public CfnVPCGatewayAttachment.Builder internetGatewayId(java.lang.String internetGatewayId)
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.
internetGatewayId
- The ID of the internet gateway. This parameter is required.this
public CfnVPCGatewayAttachment.Builder vpnGatewayId(java.lang.String vpnGatewayId)
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.
vpnGatewayId
- The ID of the virtual private gateway. This parameter is required.this
public CfnVPCGatewayAttachment build()