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