Interface RouteServerPeer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteServerPeer.Builder,
,RouteServerPeer> SdkBuilder<RouteServerPeer.Builder,
,RouteServerPeer> SdkPojo
- Enclosing class:
RouteServerPeer
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteServerPeer.Builder
bfdStatus
(Consumer<RouteServerBfdStatus.Builder> bfdStatus) The current status of the BFD session with this peer.bfdStatus
(RouteServerBfdStatus bfdStatus) The current status of the BFD session with this peer.default RouteServerPeer.Builder
bgpOptions
(Consumer<RouteServerBgpOptions.Builder> bgpOptions) The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.bgpOptions
(RouteServerBgpOptions bgpOptions) The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.default RouteServerPeer.Builder
bgpStatus
(Consumer<RouteServerBgpStatus.Builder> bgpStatus) The current status of the BGP session with this peer.bgpStatus
(RouteServerBgpStatus bgpStatus) The current status of the BGP session with this peer.endpointEniAddress
(String endpointEniAddress) The IP address of the Elastic network interface for the route server endpoint.endpointEniId
(String endpointEniId) The ID of the Elastic network interface for the route server endpoint.failureReason
(String failureReason) The reason for any failure in peer creation or operation.peerAddress
(String peerAddress) The IPv4 address of the peer device.routeServerEndpointId
(String routeServerEndpointId) The ID of the route server endpoint associated with this peer.routeServerId
(String routeServerId) The ID of the route server associated with this peer.routeServerPeerId
(String routeServerPeerId) The unique identifier of the route server peer.The current state of the route server peer.state
(RouteServerPeerState state) The current state of the route server peer.The ID of the subnet containing the route server peer.tags
(Collection<Tag> tags) Any tags assigned to the route server peer.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the route server peer.Any tags assigned to the route server peer.The ID of the VPC containing the route server peer.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 Details
-
routeServerPeerId
The unique identifier of the route server peer.
- Parameters:
routeServerPeerId
- The unique identifier of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerEndpointId
The ID of the route server endpoint associated with this peer.
- Parameters:
routeServerEndpointId
- The ID of the route server endpoint associated with this peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerId
The ID of the route server associated with this peer.
- Parameters:
routeServerId
- The ID of the route server associated with this peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC containing the route server peer.
- Parameters:
vpcId
- The ID of the VPC containing the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the subnet containing the route server peer.
- Parameters:
subnetId
- The ID of the subnet containing the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the route server peer.
- Parameters:
state
- The current state of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the route server peer.
- Parameters:
state
- The current state of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason for any failure in peer creation or operation.
- Parameters:
failureReason
- The reason for any failure in peer creation or operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointEniId
The ID of the Elastic network interface for the route server endpoint.
- Parameters:
endpointEniId
- The ID of the Elastic network interface for the route server endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointEniAddress
The IP address of the Elastic network interface for the route server endpoint.
- Parameters:
endpointEniAddress
- The IP address of the Elastic network interface for the route server endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
The IPv4 address of the peer device.
- Parameters:
peerAddress
- The IPv4 address of the peer device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
- Parameters:
bgpOptions
- The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
This is a convenience method that creates an instance of theRouteServerBgpOptions.Builder
avoiding the need to create one manually viaRouteServerBgpOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobgpOptions(RouteServerBgpOptions)
.- Parameters:
bgpOptions
- a consumer that will call methods onRouteServerBgpOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bgpStatus
The current status of the BGP session with this peer.
- Parameters:
bgpStatus
- The current status of the BGP session with this peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpStatus
The current status of the BGP session with this peer.
This is a convenience method that creates an instance of theRouteServerBgpStatus.Builder
avoiding the need to create one manually viaRouteServerBgpStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobgpStatus(RouteServerBgpStatus)
.- Parameters:
bgpStatus
- a consumer that will call methods onRouteServerBgpStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bfdStatus
The current status of the BFD session with this peer.
- Parameters:
bfdStatus
- The current status of the BFD session with this peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bfdStatus
The current status of the BFD session with this peer.
This is a convenience method that creates an instance of theRouteServerBfdStatus.Builder
avoiding the need to create one manually viaRouteServerBfdStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobfdStatus(RouteServerBfdStatus)
.- Parameters:
bfdStatus
- a consumer that will call methods onRouteServerBfdStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags assigned to the route server peer.
- Parameters:
tags
- Any tags assigned to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route server peer.
- Parameters:
tags
- Any tags assigned to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route server peer.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-