Interface RouteServerPeer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteServerPeer.Builder,RouteServerPeer>,SdkBuilder<RouteServerPeer.Builder,RouteServerPeer>,SdkPojo
- Enclosing class:
- RouteServerPeer
@Mutable @NotThreadSafe public static interface RouteServerPeer.Builder extends SdkPojo, CopyableBuilder<RouteServerPeer.Builder,RouteServerPeer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteServerPeer.BuilderbfdStatus(Consumer<RouteServerBfdStatus.Builder> bfdStatus)The current status of the BFD session with this peer.RouteServerPeer.BuilderbfdStatus(RouteServerBfdStatus bfdStatus)The current status of the BFD session with this peer.default RouteServerPeer.BuilderbgpOptions(Consumer<RouteServerBgpOptions.Builder> bgpOptions)The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.RouteServerPeer.BuilderbgpOptions(RouteServerBgpOptions bgpOptions)The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.default RouteServerPeer.BuilderbgpStatus(Consumer<RouteServerBgpStatus.Builder> bgpStatus)The current status of the BGP session with this peer.RouteServerPeer.BuilderbgpStatus(RouteServerBgpStatus bgpStatus)The current status of the BGP session with this peer.RouteServerPeer.BuilderendpointEniAddress(String endpointEniAddress)The IP address of the Elastic network interface for the route server endpoint.RouteServerPeer.BuilderendpointEniId(String endpointEniId)The ID of the Elastic network interface for the route server endpoint.RouteServerPeer.BuilderfailureReason(String failureReason)The reason for any failure in peer creation or operation.RouteServerPeer.BuilderpeerAddress(String peerAddress)The IPv4 address of the peer device.RouteServerPeer.BuilderrouteServerEndpointId(String routeServerEndpointId)The ID of the route server endpoint associated with this peer.RouteServerPeer.BuilderrouteServerId(String routeServerId)The ID of the route server associated with this peer.RouteServerPeer.BuilderrouteServerPeerId(String routeServerPeerId)The unique identifier of the route server peer.RouteServerPeer.Builderstate(String state)The current state of the route server peer.RouteServerPeer.Builderstate(RouteServerPeerState state)The current state of the route server peer.RouteServerPeer.BuildersubnetId(String subnetId)The ID of the subnet containing the route server peer.RouteServerPeer.Buildertags(Collection<Tag> tags)Any tags assigned to the route server peer.RouteServerPeer.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the route server peer.RouteServerPeer.Buildertags(Tag... tags)Any tags assigned to the route server peer.RouteServerPeer.BuildervpcId(String vpcId)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 Detail
-
routeServerPeerId
RouteServerPeer.Builder routeServerPeerId(String 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
RouteServerPeer.Builder routeServerEndpointId(String 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
RouteServerPeer.Builder routeServerId(String 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
RouteServerPeer.Builder vpcId(String 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
RouteServerPeer.Builder subnetId(String 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
RouteServerPeer.Builder state(String 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:
RouteServerPeerState,RouteServerPeerState
-
state
RouteServerPeer.Builder state(RouteServerPeerState 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:
RouteServerPeerState,RouteServerPeerState
-
failureReason
RouteServerPeer.Builder failureReason(String 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
RouteServerPeer.Builder endpointEniId(String 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
RouteServerPeer.Builder endpointEniAddress(String 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
RouteServerPeer.Builder peerAddress(String 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
RouteServerPeer.Builder bgpOptions(RouteServerBgpOptions 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
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.
This is a convenience method that creates an instance of theRouteServerBgpOptions.Builderavoiding the need to create one manually viaRouteServerBgpOptions.builder().When the
Consumercompletes,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:
bgpOptions(RouteServerBgpOptions)
-
bgpStatus
RouteServerPeer.Builder bgpStatus(RouteServerBgpStatus 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
default RouteServerPeer.Builder bgpStatus(Consumer<RouteServerBgpStatus.Builder> bgpStatus)
The current status of the BGP session with this peer.
This is a convenience method that creates an instance of theRouteServerBgpStatus.Builderavoiding the need to create one manually viaRouteServerBgpStatus.builder().When the
Consumercompletes,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:
bgpStatus(RouteServerBgpStatus)
-
bfdStatus
RouteServerPeer.Builder bfdStatus(RouteServerBfdStatus 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
default RouteServerPeer.Builder bfdStatus(Consumer<RouteServerBfdStatus.Builder> bfdStatus)
The current status of the BFD session with this peer.
This is a convenience method that creates an instance of theRouteServerBfdStatus.Builderavoiding the need to create one manually viaRouteServerBfdStatus.builder().When the
Consumercompletes,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:
bfdStatus(RouteServerBfdStatus)
-
tags
RouteServerPeer.Builder tags(Collection<Tag> 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
RouteServerPeer.Builder tags(Tag... 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
RouteServerPeer.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the route server peer.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-