Class CfnDirectConnectGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnDirectConnectGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGatewayMixinProps>
- Enclosing interface:
CfnDirectConnectGatewayMixinProps
@Stability(Stable)
public static final class CfnDirectConnectGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGatewayMixinProps>
A builder for
CfnDirectConnectGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(String amazonSideAsn) Sets the value ofCfnDirectConnectGatewayMixinProps.getAmazonSideAsn()build()Builds the configured instance.directConnectGatewayName(String directConnectGatewayName) Sets the value ofCfnDirectConnectGatewayMixinProps.getDirectConnectGatewayName()Sets the value ofCfnDirectConnectGatewayMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amazonSideAsn
@Stability(Stable) public CfnDirectConnectGatewayMixinProps.Builder amazonSideAsn(String amazonSideAsn) Sets the value ofCfnDirectConnectGatewayMixinProps.getAmazonSideAsn()- Parameters:
amazonSideAsn- The autonomous system number (ASN) for the Amazon side of the connection.- Returns:
this
-
directConnectGatewayName
@Stability(Stable) public CfnDirectConnectGatewayMixinProps.Builder directConnectGatewayName(String directConnectGatewayName) Sets the value ofCfnDirectConnectGatewayMixinProps.getDirectConnectGatewayName()- Parameters:
directConnectGatewayName- The name of the Direct Connect gateway.- Returns:
this
-
tags
@Stability(Stable) public CfnDirectConnectGatewayMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDirectConnectGatewayMixinProps.getTags()- Parameters:
tags- The tags associated with the Direct Connect gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectConnectGatewayMixinProps>- Returns:
- a new instance of
CfnDirectConnectGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-