Class CfnConnectPeerProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnConnectPeerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectPeerProps>
- Enclosing interface:
- CfnConnectPeerProps
@Stability(Stable)
public static final class CfnConnectPeerProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectPeerProps>
A builder for
CfnConnectPeerProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbgpOptions(IResolvable bgpOptions) Sets the value ofCfnConnectPeerProps.getBgpOptions()bgpOptions(CfnConnectPeer.BgpOptionsProperty bgpOptions) Sets the value ofCfnConnectPeerProps.getBgpOptions()build()Builds the configured instance.connectAttachmentId(String connectAttachmentId) Sets the value ofCfnConnectPeerProps.getConnectAttachmentId()coreNetworkAddress(String coreNetworkAddress) Sets the value ofCfnConnectPeerProps.getCoreNetworkAddress()insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnConnectPeerProps.getInsideCidrBlocks()peerAddress(String peerAddress) Sets the value ofCfnConnectPeerProps.getPeerAddress()Sets the value ofCfnConnectPeerProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectAttachmentId
@Stability(Stable) public CfnConnectPeerProps.Builder connectAttachmentId(String connectAttachmentId) Sets the value ofCfnConnectPeerProps.getConnectAttachmentId()- Parameters:
connectAttachmentId- The ID of the attachment to connect. This parameter is required.- Returns:
this
-
insideCidrBlocks
@Stability(Stable) public CfnConnectPeerProps.Builder insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnConnectPeerProps.getInsideCidrBlocks()- Parameters:
insideCidrBlocks- The inside IP addresses used for a Connect peer configuration. This parameter is required.- Returns:
this
-
peerAddress
Sets the value ofCfnConnectPeerProps.getPeerAddress()- Parameters:
peerAddress- The IP address of the Connect peer. This parameter is required.- Returns:
this
-
bgpOptions
Sets the value ofCfnConnectPeerProps.getBgpOptions()- Parameters:
bgpOptions-AWS::NetworkManager::ConnectPeer.BgpOptions.- Returns:
this
-
bgpOptions
@Stability(Stable) public CfnConnectPeerProps.Builder bgpOptions(CfnConnectPeer.BgpOptionsProperty bgpOptions) Sets the value ofCfnConnectPeerProps.getBgpOptions()- Parameters:
bgpOptions-AWS::NetworkManager::ConnectPeer.BgpOptions.- Returns:
this
-
coreNetworkAddress
Sets the value ofCfnConnectPeerProps.getCoreNetworkAddress()- Parameters:
coreNetworkAddress- The IP address of a core network.- Returns:
this
-
tags
Sets the value ofCfnConnectPeerProps.getTags()- Parameters:
tags- The list of key-value tags associated with the Connect peer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectPeerProps>- Returns:
- a new instance of
CfnConnectPeerProps - Throws:
NullPointerException- if any required attribute was not provided
-