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 Details

    • create

      @Stability(Stable) public static CfnConnectPeer.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnConnectPeer.Builder.
    • connectAttachmentId

      @Stability(Stable) public CfnConnectPeer.Builder connectAttachmentId(String connectAttachmentId)
      The ID of the attachment to connect.

      Parameters:
      connectAttachmentId - The ID of the attachment to connect. This parameter is required.
      Returns:
      this
    • insideCidrBlocks

      @Stability(Stable) public CfnConnectPeer.Builder insideCidrBlocks(List<String> 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
    • peerAddress

      @Stability(Stable) public CfnConnectPeer.Builder peerAddress(String peerAddress)
      The IP address of the Connect peer.

      Parameters:
      peerAddress - The IP address of the Connect peer. This parameter is required.
      Returns:
      this
    • bgpOptions

      @Stability(Stable) public CfnConnectPeer.Builder bgpOptions(IResolvable bgpOptions)
      AWS::NetworkManager::ConnectPeer.BgpOptions.

      Parameters:
      bgpOptions - AWS::NetworkManager::ConnectPeer.BgpOptions. This parameter is required.
      Returns:
      this
    • bgpOptions

      @Stability(Stable) public CfnConnectPeer.Builder bgpOptions(CfnConnectPeer.BgpOptionsProperty bgpOptions)
      AWS::NetworkManager::ConnectPeer.BgpOptions.

      Parameters:
      bgpOptions - AWS::NetworkManager::ConnectPeer.BgpOptions. This parameter is required.
      Returns:
      this
    • coreNetworkAddress

      @Stability(Stable) public CfnConnectPeer.Builder coreNetworkAddress(String coreNetworkAddress)
      The IP address of a core network.

      Parameters:
      coreNetworkAddress - The IP address of a core network. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnConnectPeer.Builder tags(List<? extends CfnTag> 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
    • build

      @Stability(Stable) public CfnConnectPeer build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnConnectPeer>
      Returns:
      a newly built instance of CfnConnectPeer.