Interface TransitGatewayConnectPeerConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>,SdkBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>,SdkPojo
- Enclosing class:
- TransitGatewayConnectPeerConfiguration
@Mutable @NotThreadSafe public static interface TransitGatewayConnectPeerConfiguration.Builder extends SdkPojo, CopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
transitGatewayAddress
TransitGatewayConnectPeerConfiguration.Builder transitGatewayAddress(String 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
TransitGatewayConnectPeerConfiguration.Builder peerAddress(String 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
TransitGatewayConnectPeerConfiguration.Builder insideCidrBlocks(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.
-
protocol
TransitGatewayConnectPeerConfiguration.Builder protocol(String 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:
ProtocolValue,ProtocolValue
-
protocol
TransitGatewayConnectPeerConfiguration.Builder protocol(ProtocolValue 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:
ProtocolValue,ProtocolValue
-
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.Builderavoiding the need to create one manually viaTransitGatewayAttachmentBgpConfiguration.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 onTransitGatewayAttachmentBgpConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#bgpConfigurations(java.util.Collection)
-
-