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()proposedNetworkFunctionGroupChange(CfnDirectConnectGatewayAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) proposedSegmentChange(CfnDirectConnectGatewayAttachmentPropsMixin.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedSegmentChange()proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedSegmentChange()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
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder proposedNetworkFunctionGroupChange(CfnDirectConnectGatewayAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentMixinProps.Builder proposedSegmentChange(CfnDirectConnectGatewayAttachmentPropsMixin.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentMixinProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- 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
-