Class CfnVPNGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPNGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNGatewayMixinProps>
- Enclosing interface:
CfnVPNGatewayMixinProps
@Stability(Stable)
public static final class CfnVPNGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNGatewayMixinProps>
A builder for
CfnVPNGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(Number amazonSideAsn) Sets the value ofCfnVPNGatewayMixinProps.getAmazonSideAsn()build()Builds the configured instance.Sets the value ofCfnVPNGatewayMixinProps.getTags()Sets the value ofCfnVPNGatewayMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amazonSideAsn
Sets the value ofCfnVPNGatewayMixinProps.getAmazonSideAsn()- Parameters:
amazonSideAsn- The private Autonomous System Number (ASN) for the Amazon side of a BGP session.- Returns:
this
-
tags
Sets the value ofCfnVPNGatewayMixinProps.getTags()- Parameters:
tags- Any tags assigned to the virtual private gateway.- Returns:
this
-
type
Sets the value ofCfnVPNGatewayMixinProps.getType()- Parameters:
type- The type of VPN connection the virtual private gateway supports.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNGatewayMixinProps>- Returns:
- a new instance of
CfnVPNGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-