Class CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty>
- Enclosing interface:
CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty
@Stability(Stable)
public static final class CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreNetworkAddress(String coreNetworkAddress) coreNetworkAsn(Number coreNetworkAsn) peerAddress(String peerAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkAddress
@Stability(Stable) public CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder coreNetworkAddress(String coreNetworkAddress) Sets the value ofCfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.getCoreNetworkAddress()- Parameters:
coreNetworkAddress- The address of a core network.- Returns:
this
-
coreNetworkAsn
@Stability(Stable) public CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder coreNetworkAsn(Number coreNetworkAsn) - Parameters:
coreNetworkAsn- The ASN of the Coret Network.- Returns:
this
-
peerAddress
@Stability(Stable) public CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder peerAddress(String peerAddress) - Parameters:
peerAddress- The address of a core network Connect peer.- Returns:
this
-
peerAsn
@Stability(Stable) public CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty.Builder peerAsn(Number peerAsn) - Parameters:
peerAsn- The ASN of the Connect peer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty>- Returns:
- a new instance of
CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-