Class CfnVPNConcentratorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPNConcentratorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConcentratorMixinProps>
- Enclosing interface:
CfnVPNConcentratorMixinProps
@Stability(Stable)
public static final class CfnVPNConcentratorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNConcentratorMixinProps>
A builder for
CfnVPNConcentratorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVPNConcentratorMixinProps.getTags()transitGatewayId(String transitGatewayId) Sets the value ofCfnVPNConcentratorMixinProps.getTransitGatewayId()Sets the value ofCfnVPNConcentratorMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnVPNConcentratorMixinProps.getTags()- Parameters:
tags- Any tags assigned to the VPN concentrator.- Returns:
this
-
transitGatewayId
@Stability(Stable) public CfnVPNConcentratorMixinProps.Builder transitGatewayId(String transitGatewayId) Sets the value ofCfnVPNConcentratorMixinProps.getTransitGatewayId()- Parameters:
transitGatewayId- The ID of the transit gateway.- Returns:
this
-
type
Sets the value ofCfnVPNConcentratorMixinProps.getType()- Parameters:
type- The type of VPN concentrator.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNConcentratorMixinProps>- Returns:
- a new instance of
CfnVPNConcentratorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-