public static final class CfnVPNGateway.Builder
extends java.lang.Object
CfnVPNGateway
.Modifier and Type | Method and Description |
---|---|
CfnVPNGateway.Builder |
amazonSideAsn(java.lang.Number amazonSideAsn)
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
CfnVPNGateway |
build() |
static CfnVPNGateway.Builder |
create(Construct scope,
java.lang.String id) |
CfnVPNGateway.Builder |
tags(java.util.List<? extends CfnTag> tags)
Any tags assigned to the virtual private gateway.
|
CfnVPNGateway.Builder |
type(java.lang.String type)
The type of VPN connection the virtual private gateway supports.
|
public static CfnVPNGateway.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.CfnVPNGateway.Builder
.public CfnVPNGateway.Builder type(java.lang.String type)
type
- The type of VPN connection the virtual private gateway supports. This parameter is required.this
public CfnVPNGateway.Builder amazonSideAsn(java.lang.Number amazonSideAsn)
amazonSideAsn
- The private Autonomous System Number (ASN) for the Amazon side of a BGP session. This parameter is required.this
public CfnVPNGateway.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- Any tags assigned to the virtual private gateway. This parameter is required.this
public CfnVPNGateway build()