Interface VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder,,VirtualEdgeNetworkRouteServerPeerBgpOptions> SdkBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder,,VirtualEdgeNetworkRouteServerPeerBgpOptions> SdkPojo
- Enclosing class:
VirtualEdgeNetworkRouteServerPeerBgpOptions
@Mutable
@NotThreadSafe
public static interface VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder
extends SdkPojo, CopyableBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder,VirtualEdgeNetworkRouteServerPeerBgpOptions>
-
Method Summary
Modifier and TypeMethodDescriptionbfdConfiguration(Consumer<VirtualEdgeNetworkRouteServerPeerBfdConfiguration.Builder> bfdConfiguration) The BFD configuration for the peer.bfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfiguration bfdConfiguration) The BFD configuration for the peer.The autonomous system number (ASN) of the peer.peerLivenessDetection(String peerLivenessDetection) The method used to detect whether the peer is available.peerLivenessDetection(VirtualEdgeNetworkRouteServerPeerLivenessDetection peerLivenessDetection) The method used to detect whether the peer is available.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
-
peerAsn
The autonomous system number (ASN) of the peer.
- Parameters:
peerAsn- The autonomous system number (ASN) of the peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerLivenessDetection
VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder peerLivenessDetection(String peerLivenessDetection) The method used to detect whether the peer is available.
- Parameters:
peerLivenessDetection- The method used to detect whether the peer is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
peerLivenessDetection
VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder peerLivenessDetection(VirtualEdgeNetworkRouteServerPeerLivenessDetection peerLivenessDetection) The method used to detect whether the peer is available.
- Parameters:
peerLivenessDetection- The method used to detect whether the peer is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bfdConfiguration
VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder bfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfiguration bfdConfiguration) The BFD configuration for the peer.
- Parameters:
bfdConfiguration- The BFD configuration for the peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bfdConfiguration
default VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder bfdConfiguration(Consumer<VirtualEdgeNetworkRouteServerPeerBfdConfiguration.Builder> bfdConfiguration) The BFD configuration for the peer.
This is a convenience method that creates an instance of theVirtualEdgeNetworkRouteServerPeerBfdConfiguration.Builderavoiding the need to create one manually viaVirtualEdgeNetworkRouteServerPeerBfdConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfiguration).- Parameters:
bfdConfiguration- a consumer that will call methods onVirtualEdgeNetworkRouteServerPeerBfdConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-