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