Interface VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder,,VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest> SdkBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder,,VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest> SdkPojo
- Enclosing class:
VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest
@Mutable
@NotThreadSafe
public static interface VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder
extends SdkPojo, CopyableBuilder<VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder,VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbfdConfiguration(Consumer<VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest.Builder> bfdConfiguration) The BFD configuration for the peer.bfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest 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. The ASN must be a private ASN in the range 64512-65534 or 4200000000-4294967294.
- Parameters:
peerAsn- The autonomous system number (ASN) of the peer. The ASN must be a private ASN in the range 64512-65534 or 4200000000-4294967294.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerLivenessDetection
VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder peerLivenessDetection(String peerLivenessDetection) The method used to detect whether the peer is available. The default is
bgp-keepalive.- Parameters:
peerLivenessDetection- The method used to detect whether the peer is available. The default isbgp-keepalive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
peerLivenessDetection
VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder peerLivenessDetection(VirtualEdgeNetworkRouteServerPeerLivenessDetection peerLivenessDetection) The method used to detect whether the peer is available. The default is
bgp-keepalive.- Parameters:
peerLivenessDetection- The method used to detect whether the peer is available. The default isbgp-keepalive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bfdConfiguration
VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder bfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest bfdConfiguration) The BFD configuration for the peer. You can specify this only when
PeerLivenessDetectionisbfd.- Parameters:
bfdConfiguration- The BFD configuration for the peer. You can specify this only whenPeerLivenessDetectionisbfd.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bfdConfiguration
default VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder bfdConfiguration(Consumer<VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest.Builder> bfdConfiguration) The BFD configuration for the peer. You can specify this only when
This is a convenience method that creates an instance of thePeerLivenessDetectionisbfd.VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest.Builderavoiding the need to create one manually viaVirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobfdConfiguration(VirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest).- Parameters:
bfdConfiguration- a consumer that will call methods onVirtualEdgeNetworkRouteServerPeerBfdConfigurationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-