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
Constructors -
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()networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnConnectAttachmentProps.getNetworkFunctionGroupName()options(IResolvable options) Sets the value ofCfnConnectAttachmentProps.getOptions()Sets the value ofCfnConnectAttachmentProps.getOptions()proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Sets the value ofCfnConnectAttachmentProps.getProposedNetworkFunctionGroupChange()proposedNetworkFunctionGroupChange(CfnConnectAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Sets the value ofCfnConnectAttachmentProps.getProposedNetworkFunctionGroupChange()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
Sets the value ofCfnConnectAttachmentProps.getOptions()- Parameters:
options- Options for connecting an attachment. 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
-
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
-
networkFunctionGroupName
@Stability(Stable) public CfnConnectAttachmentProps.Builder networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnConnectAttachmentProps.getNetworkFunctionGroupName()- Parameters:
networkFunctionGroupName- The name of the network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnConnectAttachmentProps.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Sets the value ofCfnConnectAttachmentProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnConnectAttachmentProps.Builder proposedNetworkFunctionGroupChange(CfnConnectAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Sets the value ofCfnConnectAttachmentProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnConnectAttachmentProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.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 CfnConnectAttachmentProps.Builder proposedSegmentChange(CfnConnectAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnConnectAttachmentProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- Returns:
this
-
tags
Sets the value ofCfnConnectAttachmentProps.getTags()- Parameters:
tags- The tags associated with the Connect attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectAttachmentProps>- Returns:
- a new instance of
CfnConnectAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-