public static final class CfnVPNGatewayProps.Builder
extends java.lang.Object
CfnVPNGatewayProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVPNGatewayProps.Builder |
amazonSideAsn(java.lang.Number amazonSideAsn)
Sets the value of
CfnVPNGatewayProps.getAmazonSideAsn() |
CfnVPNGatewayProps |
build()
Builds the configured instance.
|
CfnVPNGatewayProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnVPNGatewayProps.getTags() |
CfnVPNGatewayProps.Builder |
type(java.lang.String type)
Sets the value of
CfnVPNGatewayProps.getType() |
public CfnVPNGatewayProps.Builder type(java.lang.String type)
CfnVPNGatewayProps.getType()
type
- The type of VPN connection the virtual private gateway supports. This parameter is required.this
public CfnVPNGatewayProps.Builder amazonSideAsn(java.lang.Number amazonSideAsn)
CfnVPNGatewayProps.getAmazonSideAsn()
amazonSideAsn
- The private Autonomous System Number (ASN) for the Amazon side of a BGP session.this
public CfnVPNGatewayProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnVPNGatewayProps.getTags()
tags
- Any tags assigned to the virtual private gateway.this
public CfnVPNGatewayProps build()
CfnVPNGatewayProps
java.lang.NullPointerException
- if any required attribute was not provided