Class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty>
- Enclosing interface:
CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty
@Stability(Stable)
public static final class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.peerAddress(String peerAddress) transitGatewayAddress(String transitGatewayAddress) transitGatewayAsn(Number transitGatewayAsn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bgpStatus
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder bgpStatus(String bgpStatus) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.getBgpStatus()- Parameters:
bgpStatus- The BGP status.- Returns:
this
-
peerAddress
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder peerAddress(String peerAddress) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.getPeerAddress()- Parameters:
peerAddress- The interior BGP peer IP address for the appliance.- Returns:
this
-
peerAsn
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder peerAsn(Number peerAsn) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.getPeerAsn()- Parameters:
peerAsn- The peer Autonomous System Number (ASN).- Returns:
this
-
transitGatewayAddress
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder transitGatewayAddress(String transitGatewayAddress) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.getTransitGatewayAddress()- Parameters:
transitGatewayAddress- The interior BGP peer IP address for the transit gateway.- Returns:
this
-
transitGatewayAsn
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.Builder transitGatewayAsn(Number transitGatewayAsn) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty.getTransitGatewayAsn()- Parameters:
transitGatewayAsn- The transit gateway Autonomous System Number (ASN).- Returns:
this
-
build
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty>- Returns:
- a new instance of
CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-