Class CfnDirectConnectGatewayAttachmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnDirectConnectGatewayAttachmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentMixinProps>
- Enclosing interface:
CfnDirectConnectGatewayAttachmentMixinProps
@Stability(Stable)
public static final class CfnDirectConnectGatewayAttachmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentMixinProps>
A builder for
CfnDirectConnectGatewayAttachmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreNetworkId(String coreNetworkId) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getCoreNetworkId()directConnectGatewayArn(String directConnectGatewayArn) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getDirectConnectGatewayArn()edgeLocations(List<String> edgeLocations) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getEdgeLocations()routingPolicyLabel(String routingPolicyLabel) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getRoutingPolicyLabel()Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkId
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder coreNetworkId(String coreNetworkId) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getCoreNetworkId()- Parameters:
coreNetworkId- The ID of a core network for the Direct Connect Gateway attachment.- Returns:
this
-
directConnectGatewayArn
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder directConnectGatewayArn(String directConnectGatewayArn) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getDirectConnectGatewayArn()- Parameters:
directConnectGatewayArn- The Direct Connect gateway attachment ARN.- Returns:
this
-
edgeLocations
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder edgeLocations(List<String> edgeLocations) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getEdgeLocations()- Parameters:
edgeLocations- The Regions where the edges are located.- Returns:
this
-
routingPolicyLabel
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder routingPolicyLabel(String routingPolicyLabel) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getRoutingPolicyLabel()- Parameters:
routingPolicyLabel- Routing policy label.- Returns:
this
-
tags
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getTags()- Parameters:
tags- Tags for the attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentMixinProps>- Returns:
- a new instance of
CfnDirectConnectGatewayAttachmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-