Class CfnDirectConnectGateway.Builder
java.lang.Object
software.amazon.awscdk.services.directconnect.CfnDirectConnectGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGateway>
- Enclosing class:
CfnDirectConnectGateway
@Stability(Stable)
public static final class CfnDirectConnectGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGateway>
A fluent builder for
CfnDirectConnectGateway.-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(String amazonSideAsn) The autonomous system number (ASN) for the Amazon side of the connection.build()directConnectGatewayName(String directConnectGatewayName) The name of the Direct Connect gateway.The tags associated with the Direct Connect gateway.
-
Method Details
-
create
@Stability(Stable) public static CfnDirectConnectGateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDirectConnectGateway.Builder.
-
directConnectGatewayName
@Stability(Stable) public CfnDirectConnectGateway.Builder directConnectGatewayName(String directConnectGatewayName) The name of the Direct Connect gateway.- Parameters:
directConnectGatewayName- The name of the Direct Connect gateway. This parameter is required.- Returns:
this- See Also:
-
amazonSideAsn
The autonomous system number (ASN) for the Amazon side of the connection.- Parameters:
amazonSideAsn- The autonomous system number (ASN) for the Amazon side of the connection. This parameter is required.- Returns:
this- See Also:
-
tags
The tags associated with the Direct Connect gateway.- Parameters:
tags- The tags associated with the Direct Connect gateway. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectConnectGateway>- Returns:
- a newly built instance of
CfnDirectConnectGateway.
-