public static interface TransitGatewayConnectPeerConfiguration.Builder extends SdkPojo, CopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGatewayConnectPeerConfiguration.Builder transitGatewayAddress(String transitGatewayAddress)
The Connect peer IP address on the transit gateway side of the tunnel.
transitGatewayAddress
- The Connect peer IP address on the transit gateway side of the tunnel.TransitGatewayConnectPeerConfiguration.Builder peerAddress(String peerAddress)
The Connect peer IP address on the appliance side of the tunnel.
peerAddress
- The Connect peer IP address on the appliance side of the tunnel.TransitGatewayConnectPeerConfiguration.Builder insideCidrBlocks(Collection<String> insideCidrBlocks)
The range of interior BGP peer IP addresses.
insideCidrBlocks
- The range of interior BGP peer IP addresses.TransitGatewayConnectPeerConfiguration.Builder insideCidrBlocks(String... insideCidrBlocks)
The range of interior BGP peer IP addresses.
insideCidrBlocks
- The range of interior BGP peer IP addresses.TransitGatewayConnectPeerConfiguration.Builder protocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
,
ProtocolValue
TransitGatewayConnectPeerConfiguration.Builder protocol(ProtocolValue protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
,
ProtocolValue
TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations)
The BGP configuration details.
bgpConfigurations
- The BGP configuration details.TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(TransitGatewayAttachmentBgpConfiguration... bgpConfigurations)
The BGP configuration details.
bgpConfigurations
- The BGP configuration details.TransitGatewayConnectPeerConfiguration.Builder bgpConfigurations(Consumer<TransitGatewayAttachmentBgpConfiguration.Builder>... bgpConfigurations)
The BGP configuration details.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result is passed to #bgpConfigurations(List)
.bgpConfigurations
- a consumer that will call methods on List.Builder
#bgpConfigurations(List)
Copyright © 2022. All rights reserved.