Interface TransitGatewayConnectPeerConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,
,TransitGatewayConnectPeerConfiguration> SdkBuilder<TransitGatewayConnectPeerConfiguration.Builder,
,TransitGatewayConnectPeerConfiguration> SdkPojo
- Enclosing class:
TransitGatewayConnectPeerConfiguration
public static interface TransitGatewayConnectPeerConfiguration.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbgpConfigurations
(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations) The BGP configuration details.bgpConfigurations
(Consumer<TransitGatewayAttachmentBgpConfiguration.Builder>... bgpConfigurations) The BGP configuration details.bgpConfigurations
(TransitGatewayAttachmentBgpConfiguration... bgpConfigurations) The BGP configuration details.insideCidrBlocks
(String... insideCidrBlocks) The range of interior BGP peer IP addresses.insideCidrBlocks
(Collection<String> insideCidrBlocks) The range of interior BGP peer IP addresses.peerAddress
(String peerAddress) The Connect peer IP address on the appliance side of the tunnel.The tunnel protocol.protocol
(ProtocolValue protocol) The tunnel protocol.transitGatewayAddress
(String transitGatewayAddress) The Connect peer IP address on the transit gateway side of the tunnel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transitGatewayAddress
The Connect peer IP address on the transit gateway side of the tunnel.
- Parameters:
transitGatewayAddress
- The Connect peer IP address on the transit gateway side of the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
The Connect peer IP address on the appliance side of the tunnel.
- Parameters:
peerAddress
- The Connect peer IP address on the appliance side of the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insideCidrBlocks
TransitGatewayConnectPeerConfiguration.Builder insideCidrBlocks(Collection<String> insideCidrBlocks) The range of interior BGP peer IP addresses.
- Parameters:
insideCidrBlocks
- The range of interior BGP peer IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insideCidrBlocks
The range of interior BGP peer IP addresses.
- Parameters:
insideCidrBlocks
- The range of interior BGP peer IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The tunnel protocol.
- Parameters:
protocol
- The tunnel protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The tunnel protocol.
- Parameters:
protocol
- The tunnel protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bgpConfigurations
TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations) The BGP configuration details.
- Parameters:
bgpConfigurations
- The BGP configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpConfigurations
TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(TransitGatewayAttachmentBgpConfiguration... bgpConfigurations) The BGP configuration details.
- Parameters:
bgpConfigurations
- The BGP configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpConfigurations
TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(Consumer<TransitGatewayAttachmentBgpConfiguration.Builder>... bgpConfigurations) The BGP configuration details.
This is a convenience method that creates an instance of theTransitGatewayAttachmentBgpConfiguration.Builder
avoiding the need to create one manually viaTransitGatewayAttachmentBgpConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobgpConfigurations(List<TransitGatewayAttachmentBgpConfiguration>)
.- Parameters:
bgpConfigurations
- a consumer that will call methods onTransitGatewayAttachmentBgpConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-