@Stability(value=Experimental) public static final class EnableVpnGatewayOptions.Builder extends Object implements software.amazon.jsii.Builder<EnableVpnGatewayOptions>
EnableVpnGatewayOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EnableVpnGatewayOptions.Builder |
amazonSideAsn(Number amazonSideAsn)
Sets the value of
VpnGatewayProps.getAmazonSideAsn() |
EnableVpnGatewayOptions |
build()
Builds the configured instance.
|
EnableVpnGatewayOptions.Builder |
type(String type)
Sets the value of
VpnGatewayProps.getType() |
EnableVpnGatewayOptions.Builder |
vpnRoutePropagation(List<? extends SubnetSelection> vpnRoutePropagation)
Sets the value of
EnableVpnGatewayOptions.getVpnRoutePropagation() |
@Stability(value=Experimental) public EnableVpnGatewayOptions.Builder vpnRoutePropagation(List<? extends SubnetSelection> vpnRoutePropagation)
EnableVpnGatewayOptions.getVpnRoutePropagation()vpnRoutePropagation - Provide an array of subnets where the route propagation should be added.this@Stability(value=Experimental) public EnableVpnGatewayOptions.Builder type(String type)
VpnGatewayProps.getType()type - Default type ipsec.1. This parameter is required.this@Stability(value=Experimental) public EnableVpnGatewayOptions.Builder amazonSideAsn(Number amazonSideAsn)
VpnGatewayProps.getAmazonSideAsn()amazonSideAsn - Explicitly specify an Asn or let aws pick an Asn for you.this@Stability(value=Experimental) public EnableVpnGatewayOptions build()
build in interface software.amazon.jsii.Builder<EnableVpnGatewayOptions>EnableVpnGatewayOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.