Interface ConnectPeerConfiguration.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ConnectPeerConfiguration.Builder,,ConnectPeerConfiguration> SdkBuilder<ConnectPeerConfiguration.Builder,,ConnectPeerConfiguration> SdkPojo
- Enclosing class:
 ConnectPeerConfiguration
public static interface ConnectPeerConfiguration.Builder
extends SdkPojo, CopyableBuilder<ConnectPeerConfiguration.Builder,ConnectPeerConfiguration> 
- 
Method Summary
Modifier and TypeMethodDescriptionbgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations) The Connect peer BGP configurations.bgpConfigurations(Consumer<ConnectPeerBgpConfiguration.Builder>... bgpConfigurations) The Connect peer BGP configurations.bgpConfigurations(ConnectPeerBgpConfiguration... bgpConfigurations) The Connect peer BGP configurations.coreNetworkAddress(String coreNetworkAddress) The IP address of a core network.insideCidrBlocks(String... insideCidrBlocks) The inside IP addresses used for a Connect peer configuration.insideCidrBlocks(Collection<String> insideCidrBlocks) The inside IP addresses used for a Connect peer configuration.peerAddress(String peerAddress) The IP address of the Connect peer.The protocol used for a Connect peer configuration.protocol(TunnelProtocol protocol) The protocol used for a Connect peer configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
coreNetworkAddress
The IP address of a core network.
- Parameters:
 coreNetworkAddress- The IP address of a core network.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
peerAddress
The IP address of the Connect peer.
- Parameters:
 peerAddress- The IP address of the Connect peer.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
insideCidrBlocks
The inside IP addresses used for a Connect peer configuration.
- Parameters:
 insideCidrBlocks- The inside IP addresses used for a Connect peer configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
insideCidrBlocks
The inside IP addresses used for a Connect peer configuration.
- Parameters:
 insideCidrBlocks- The inside IP addresses used for a Connect peer configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
protocol
The protocol used for a Connect peer configuration.
- Parameters:
 protocol- The protocol used for a Connect peer configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
protocol
The protocol used for a Connect peer configuration.
- Parameters:
 protocol- The protocol used for a Connect peer configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
bgpConfigurations
ConnectPeerConfiguration.Builder bgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations) The Connect peer BGP configurations.
- Parameters:
 bgpConfigurations- The Connect peer BGP configurations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
bgpConfigurations
ConnectPeerConfiguration.Builder bgpConfigurations(ConnectPeerBgpConfiguration... bgpConfigurations) The Connect peer BGP configurations.
- Parameters:
 bgpConfigurations- The Connect peer BGP configurations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
bgpConfigurations
ConnectPeerConfiguration.Builder bgpConfigurations(Consumer<ConnectPeerBgpConfiguration.Builder>... bgpConfigurations) The Connect peer BGP configurations.
This is a convenience method that creates an instance of theConnectPeerBgpConfiguration.Builderavoiding the need to create one manually viaConnectPeerBgpConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobgpConfigurations(List<ConnectPeerBgpConfiguration>).- Parameters:
 bgpConfigurations- a consumer that will call methods onConnectPeerBgpConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -