Class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty>
- Enclosing interface:
CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty
@Stability(Stable)
public static final class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbgpConfigurations(List<? extends Object> bgpConfigurations) bgpConfigurations(IResolvable bgpConfigurations) build()Builds the configured instance.insideCidrBlocks(List<String> insideCidrBlocks) peerAddress(String peerAddress) transitGatewayAddress(String transitGatewayAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bgpConfigurations
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder bgpConfigurations(IResolvable bgpConfigurations) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getBgpConfigurations()- Parameters:
bgpConfigurations- The BGP configuration details.- Returns:
this
-
bgpConfigurations
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder bgpConfigurations(List<? extends Object> bgpConfigurations) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getBgpConfigurations()- Parameters:
bgpConfigurations- The BGP configuration details.- Returns:
this
-
insideCidrBlocks
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder insideCidrBlocks(List<String> insideCidrBlocks) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getInsideCidrBlocks()- Parameters:
insideCidrBlocks- The range of interior BGP peer IP addresses.- Returns:
this
-
peerAddress
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder peerAddress(String peerAddress) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getPeerAddress()- Parameters:
peerAddress- The Connect peer IP address on the appliance side of the tunnel.- Returns:
this
-
protocol
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder protocol(String protocol) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getProtocol()- Parameters:
protocol- The tunnel protocol.- Returns:
this
-
transitGatewayAddress
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.Builder transitGatewayAddress(String transitGatewayAddress) Sets the value ofCfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty.getTransitGatewayAddress()- Parameters:
transitGatewayAddress- The Connect peer IP address on the transit gateway side of the tunnel.- Returns:
this
-
build
@Stability(Stable) public CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty>- Returns:
- a new instance of
CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-