Class CfnConnectPeer.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnConnectPeer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectPeer>
- Enclosing class:
CfnConnectPeer
@Stability(Stable)
public static final class CfnConnectPeer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectPeer>
A fluent builder for
CfnConnectPeer
.-
Method Summary
Modifier and TypeMethodDescriptionbgpOptions
(IResolvable bgpOptions) Describes the BGP options.bgpOptions
(CfnConnectPeer.BgpOptionsProperty bgpOptions) Describes the BGP options.build()
connectAttachmentId
(String connectAttachmentId) The ID of the attachment to connect.coreNetworkAddress
(String coreNetworkAddress) The IP address of a core network.static CfnConnectPeer.Builder
insideCidrBlocks
(List<String> insideCidrBlocks) The inside IP addresses used for a Connect peer configuration.peerAddress
(String peerAddress) The IP address of the Connect peer.The subnet ARN of the Connect peer.The list of key-value tags associated with the Connect peer.
-
Method Details
-
create
@Stability(Stable) public static CfnConnectPeer.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnectPeer.Builder
.
-
connectAttachmentId
The ID of the attachment to connect.- Parameters:
connectAttachmentId
- The ID of the attachment to connect. This parameter is required.- Returns:
this
- See Also:
-
peerAddress
The IP address of the Connect peer.- Parameters:
peerAddress
- The IP address of the Connect peer. This parameter is required.- Returns:
this
- See Also:
-
bgpOptions
Describes the BGP options.- Parameters:
bgpOptions
- Describes the BGP options. This parameter is required.- Returns:
this
- See Also:
-
bgpOptions
@Stability(Stable) public CfnConnectPeer.Builder bgpOptions(CfnConnectPeer.BgpOptionsProperty bgpOptions) Describes the BGP options.- Parameters:
bgpOptions
- Describes the BGP options. This parameter is required.- Returns:
this
- See Also:
-
coreNetworkAddress
The IP address of a core network.- Parameters:
coreNetworkAddress
- The IP address of a core network. This parameter is required.- Returns:
this
- See Also:
-
insideCidrBlocks
The inside IP addresses used for a Connect peer configuration.- Parameters:
insideCidrBlocks
- The inside IP addresses used for a Connect peer configuration. This parameter is required.- Returns:
this
- See Also:
-
subnetArn
The subnet ARN of the Connect peer.- Parameters:
subnetArn
- The subnet ARN of the Connect peer. This parameter is required.- Returns:
this
- See Also:
-
tags
The list of key-value tags associated with the Connect peer.- Parameters:
tags
- The list of key-value tags associated with the Connect peer. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectPeer>
- Returns:
- a newly built instance of
CfnConnectPeer
.
-