Class CfnConnectPeerPropsMixin.BgpOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnConnectPeerPropsMixin.BgpOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectPeerPropsMixin.BgpOptionsProperty>
- Enclosing interface:
CfnConnectPeerPropsMixin.BgpOptionsProperty
@Stability(Stable)
public static final class CfnConnectPeerPropsMixin.BgpOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectPeerPropsMixin.BgpOptionsProperty>
A builder for
CfnConnectPeerPropsMixin.BgpOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectPeerPropsMixin.BgpOptionsProperty.getPeerAsn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
peerAsn
@Stability(Stable) public CfnConnectPeerPropsMixin.BgpOptionsProperty.Builder peerAsn(Number peerAsn) Sets the value ofCfnConnectPeerPropsMixin.BgpOptionsProperty.getPeerAsn()- Parameters:
peerAsn- The Peer ASN of the BGP.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectPeerPropsMixin.BgpOptionsProperty>- Returns:
- a new instance of
CfnConnectPeerPropsMixin.BgpOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-