Interface VirtualEdgeNetworkRouteServerPeer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkRouteServerPeer.Builder,,VirtualEdgeNetworkRouteServerPeer> SdkBuilder<VirtualEdgeNetworkRouteServerPeer.Builder,,VirtualEdgeNetworkRouteServerPeer> SdkPojo
- Enclosing class:
VirtualEdgeNetworkRouteServerPeer
-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(Long amazonSideAsn) The autonomous system number (ASN) for the Amazon side of the BGP session.availabilityZone(String availabilityZone) The Availability Zone of the route server peer.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone of the route server peer.The BGP options for the route server peer.The BGP options for the route server peer.ipv4PeerAddressRange(String ipv4PeerAddressRange) The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.ipv6PeerAddressRange(String ipv6PeerAddressRange) The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.The ID of the Amazon Web Services account that owns the route server peer.routeServerEndpoint(String routeServerEndpoint) The route server endpoint that the route server peer connects to.routeServerEndpoint(VirtualEdgeNetworkRouteServerPeerEndpoint routeServerEndpoint) The route server endpoint that the route server peer connects to.secondarySubnetId(String secondarySubnetId) The ID of the secondary subnet.The state of the route server peer.The state of the route server peer.stateReason(String stateReason) The reason for the current state of the route server peer.tags(Collection<Tag> tags) The tags assigned to the route server peer.tags(Consumer<Tag.Builder>... tags) The tags assigned to the route server peer.The tags assigned to the route server peer.virtualEdgeNetworkRouteServerPeerArn(String virtualEdgeNetworkRouteServerPeerArn) The Amazon Resource Name (ARN) of the route server peer.virtualEdgeNetworkRouteServerPeerId(String virtualEdgeNetworkRouteServerPeerId) The ID of the route server peer.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
-
virtualEdgeNetworkRouteServerPeerId
VirtualEdgeNetworkRouteServerPeer.Builder virtualEdgeNetworkRouteServerPeerId(String virtualEdgeNetworkRouteServerPeerId) The ID of the route server peer.
- Parameters:
virtualEdgeNetworkRouteServerPeerId- The ID of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualEdgeNetworkRouteServerPeerArn
VirtualEdgeNetworkRouteServerPeer.Builder virtualEdgeNetworkRouteServerPeerArn(String virtualEdgeNetworkRouteServerPeerArn) The Amazon Resource Name (ARN) of the route server peer.
- Parameters:
virtualEdgeNetworkRouteServerPeerArn- The Amazon Resource Name (ARN) of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnetId
The ID of the secondary subnet.
- Parameters:
secondarySubnetId- The ID of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the route server peer.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone of the route server peer.
- Parameters:
availabilityZoneId- The ID of the Availability Zone of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the route server peer.
- Parameters:
availabilityZone- The Availability Zone of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonSideAsn
The autonomous system number (ASN) for the Amazon side of the BGP session.
- Parameters:
amazonSideAsn- The autonomous system number (ASN) for the Amazon side of the BGP session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4PeerAddressRange
The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
- Parameters:
ipv4PeerAddressRange- The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6PeerAddressRange
The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.
- Parameters:
ipv6PeerAddressRange- The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
VirtualEdgeNetworkRouteServerPeer.Builder bgpOptions(VirtualEdgeNetworkRouteServerPeerBgpOptions bgpOptions) The BGP options for the route server peer.
- Parameters:
bgpOptions- The BGP options for the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
default VirtualEdgeNetworkRouteServerPeer.Builder bgpOptions(Consumer<VirtualEdgeNetworkRouteServerPeerBgpOptions.Builder> bgpOptions) The BGP options for the route server peer.
This is a convenience method that creates an instance of theVirtualEdgeNetworkRouteServerPeerBgpOptions.Builderavoiding the need to create one manually viaVirtualEdgeNetworkRouteServerPeerBgpOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobgpOptions(VirtualEdgeNetworkRouteServerPeerBgpOptions).- Parameters:
bgpOptions- a consumer that will call methods onVirtualEdgeNetworkRouteServerPeerBgpOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the route server peer.
- Parameters:
state- The 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 state of the route server peer.
- Parameters:
state- The state of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason for the current state of the route server peer.
- Parameters:
stateReason- The reason for the current state of the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the route server peer.
- Parameters:
tags- The tags assigned to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the route server peer.
- Parameters:
tags- The tags assigned to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The 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 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:
-
routeServerEndpoint
The route server endpoint that the route server peer connects to.
- Parameters:
routeServerEndpoint- The route server endpoint that the route server peer connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeServerEndpoint
VirtualEdgeNetworkRouteServerPeer.Builder routeServerEndpoint(VirtualEdgeNetworkRouteServerPeerEndpoint routeServerEndpoint) The route server endpoint that the route server peer connects to.
- Parameters:
routeServerEndpoint- The route server endpoint that the route server peer connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-