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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectPeerConfiguration.BuilderbgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations)The Connect peer BGP configurations.ConnectPeerConfiguration.BuilderbgpConfigurations(Consumer<ConnectPeerBgpConfiguration.Builder>... bgpConfigurations)The Connect peer BGP configurations.ConnectPeerConfiguration.BuilderbgpConfigurations(ConnectPeerBgpConfiguration... bgpConfigurations)The Connect peer BGP configurations.ConnectPeerConfiguration.BuildercoreNetworkAddress(String coreNetworkAddress)The IP address of a core network.ConnectPeerConfiguration.BuilderinsideCidrBlocks(String... insideCidrBlocks)The inside IP addresses used for a Connect peer configuration.ConnectPeerConfiguration.BuilderinsideCidrBlocks(Collection<String> insideCidrBlocks)The inside IP addresses used for a Connect peer configuration.ConnectPeerConfiguration.BuilderpeerAddress(String peerAddress)The IP address of the Connect peer.ConnectPeerConfiguration.Builderprotocol(String protocol)The protocol used for a Connect peer configuration.ConnectPeerConfiguration.Builderprotocol(TunnelProtocol protocol)The protocol used for a Connect peer configuration.-
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 Detail
-
coreNetworkAddress
ConnectPeerConfiguration.Builder coreNetworkAddress(String 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
ConnectPeerConfiguration.Builder peerAddress(String 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
ConnectPeerConfiguration.Builder insideCidrBlocks(Collection<String> 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
ConnectPeerConfiguration.Builder insideCidrBlocks(String... 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
ConnectPeerConfiguration.Builder protocol(String 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:
TunnelProtocol,TunnelProtocol
-
protocol
ConnectPeerConfiguration.Builder protocol(TunnelProtocol 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:
TunnelProtocol,TunnelProtocol
-
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 to#bgpConfigurations(List.) - 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:
#bgpConfigurations(java.util.Collection)
-
-