Class CfnConnectAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnConnectAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectAttachmentProps>
- Enclosing interface:
CfnConnectAttachmentProps
@Stability(Stable)
public static final class CfnConnectAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectAttachmentProps>
A builder for
CfnConnectAttachmentProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.coreNetworkId
(String coreNetworkId) Sets the value ofCfnConnectAttachmentProps.getCoreNetworkId()
edgeLocation
(String edgeLocation) Sets the value ofCfnConnectAttachmentProps.getEdgeLocation()
options
(IResolvable options) Sets the value ofCfnConnectAttachmentProps.getOptions()
Sets the value ofCfnConnectAttachmentProps.getOptions()
proposedSegmentChange
(IResolvable proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.getProposedSegmentChange()
proposedSegmentChange
(CfnConnectAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.getProposedSegmentChange()
Sets the value ofCfnConnectAttachmentProps.getTags()
transportAttachmentId
(String transportAttachmentId) Sets the value ofCfnConnectAttachmentProps.getTransportAttachmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkId
Sets the value ofCfnConnectAttachmentProps.getCoreNetworkId()
- Parameters:
coreNetworkId
- The ID of the core network where the Connect attachment is located. This parameter is required.- Returns:
this
-
edgeLocation
Sets the value ofCfnConnectAttachmentProps.getEdgeLocation()
- Parameters:
edgeLocation
- The Region where the edge is located. This parameter is required.- Returns:
this
-
options
@Stability(Stable) public CfnConnectAttachmentProps.Builder options(CfnConnectAttachment.ConnectAttachmentOptionsProperty options) Sets the value ofCfnConnectAttachmentProps.getOptions()
- Parameters:
options
- Options for connecting an attachment. This parameter is required.- Returns:
this
-
options
Sets the value ofCfnConnectAttachmentProps.getOptions()
- Parameters:
options
- Options for connecting an attachment. This parameter is required.- Returns:
this
-
transportAttachmentId
@Stability(Stable) public CfnConnectAttachmentProps.Builder transportAttachmentId(String transportAttachmentId) Sets the value ofCfnConnectAttachmentProps.getTransportAttachmentId()
- Parameters:
transportAttachmentId
- The ID of the transport attachment. This parameter is required.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnConnectAttachmentProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.getProposedSegmentChange()
- Parameters:
proposedSegmentChange
-AWS::NetworkManager::ConnectAttachment.ProposedSegmentChange
.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnConnectAttachmentProps.Builder proposedSegmentChange(CfnConnectAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.getProposedSegmentChange()
- Parameters:
proposedSegmentChange
-AWS::NetworkManager::ConnectAttachment.ProposedSegmentChange
.- Returns:
this
-
tags
Sets the value ofCfnConnectAttachmentProps.getTags()
- Parameters:
tags
-AWS::NetworkManager::ConnectAttachment.Tags
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectAttachmentProps>
- Returns:
- a new instance of
CfnConnectAttachmentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-