Class CfnDirectConnectGatewayAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnDirectConnectGatewayAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentProps>
- Enclosing interface:
CfnDirectConnectGatewayAttachmentProps
@Stability(Stable)
public static final class CfnDirectConnectGatewayAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentProps>
A builder for
CfnDirectConnectGatewayAttachmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreNetworkId(String coreNetworkId) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getCoreNetworkId()directConnectGatewayArn(String directConnectGatewayArn) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getDirectConnectGatewayArn()edgeLocations(List<String> edgeLocations) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getEdgeLocations()proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) proposedNetworkFunctionGroupChange(CfnDirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getProposedSegmentChange()proposedSegmentChange(CfnDirectConnectGatewayAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getProposedSegmentChange()Sets the value ofCfnDirectConnectGatewayAttachmentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkId
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder coreNetworkId(String coreNetworkId) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getCoreNetworkId()- Parameters:
coreNetworkId- The ID of a core network for the Direct Connect Gateway attachment. This parameter is required.- Returns:
this
-
directConnectGatewayArn
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder directConnectGatewayArn(String directConnectGatewayArn) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getDirectConnectGatewayArn()- Parameters:
directConnectGatewayArn- The Direct Connect gateway attachment ARN. This parameter is required.- Returns:
this
-
edgeLocations
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder edgeLocations(List<String> edgeLocations) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getEdgeLocations()- Parameters:
edgeLocations- The Regions where the edges are located. This parameter is required.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) - Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder proposedNetworkFunctionGroupChange(CfnDirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) - Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentProps.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 CfnDirectConnectGatewayAttachmentProps.Builder proposedSegmentChange(CfnDirectConnectGatewayAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- Returns:
this
-
tags
@Stability(Stable) public CfnDirectConnectGatewayAttachmentProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDirectConnectGatewayAttachmentProps.getTags()- Parameters:
tags- Tags for the attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectConnectGatewayAttachmentProps>- Returns:
- a new instance of
CfnDirectConnectGatewayAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-