Class CfnDirectConnectGatewayPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnDirectConnectGatewayPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGatewayPropsMixin>
- Enclosing class:
CfnDirectConnectGatewayPropsMixin
@Stability(Stable)
public static final class CfnDirectConnectGatewayPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGatewayPropsMixin>
A fluent builder for
CfnDirectConnectGatewayPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(String amazonSideAsn) The autonomous system number (ASN) for the Amazon side of the connection.build()create()create(CfnPropertyMixinOptions options) 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 CfnDirectConnectGatewayPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDirectConnectGatewayPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDirectConnectGatewayPropsMixin.Builder.
-
amazonSideAsn
@Stability(Stable) public CfnDirectConnectGatewayPropsMixin.Builder amazonSideAsn(String 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:
-
directConnectGatewayName
@Stability(Stable) public CfnDirectConnectGatewayPropsMixin.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:
-
tags
@Stability(Stable) public CfnDirectConnectGatewayPropsMixin.Builder tags(List<? extends CfnTag> 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<CfnDirectConnectGatewayPropsMixin>- Returns:
- a newly built instance of
CfnDirectConnectGatewayPropsMixin.
-