Interface CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder,,CreateVirtualEdgeNetworkRouteServerPeerRequest> Ec2Request.Builder,SdkBuilder<CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder,,CreateVirtualEdgeNetworkRouteServerPeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVirtualEdgeNetworkRouteServerPeerRequest
-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(Long amazonSideAsn) The autonomous system number (ASN) for the Amazon side of the BGP session.The BGP options for the route server peer.The BGP options for the route server peer.clientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routeServerEndpoint(String routeServerEndpoint) The route server endpoint in the secondary subnet to peer with.routeServerEndpoint(VirtualEdgeNetworkRouteServerPeerEndpoint routeServerEndpoint) The route server endpoint in the secondary subnet to peer with.secondarySubnetId(String secondarySubnetId) The ID of the secondary subnet in which to create the route server peer.tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to assign to the route server peer.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to assign to the route server peer.tagSpecifications(TagSpecification... tagSpecifications) The tags to assign to the route server peer.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.- 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. The ASN must be a private ASN in the range 64512-65534 or 4200000000-4294967294.
- Parameters:
amazonSideAsn- The autonomous system number (ASN) for the Amazon side of the BGP session. 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.
-
bgpOptions
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder bgpOptions(VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest 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 CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder bgpOptions(Consumer<VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder> bgpOptions) The BGP options for the route server peer.
This is a convenience method that creates an instance of theVirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builderavoiding the need to create one manually viaVirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobgpOptions(VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest).- Parameters:
bgpOptions- a consumer that will call methods onVirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv4PeerAddressRange
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder ipv4PeerAddressRange(String ipv4PeerAddressRange) The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. Specify
Ipv4PeerAddressRangefor an IPv4 secondary subnet orIpv6PeerAddressRangefor an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.- Parameters:
ipv4PeerAddressRange- The IPv4 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. SpecifyIpv4PeerAddressRangefor an IPv4 secondary subnet orIpv6PeerAddressRangefor an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6PeerAddressRange
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder ipv6PeerAddressRange(String ipv6PeerAddressRange) The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. Specify
Ipv4PeerAddressRangefor an IPv4 secondary subnet orIpv6PeerAddressRangefor an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.- Parameters:
ipv6PeerAddressRange- The IPv6 CIDR block of the instance IP addresses that are authorized to establish BGP sessions with the route server endpoint. SpecifyIpv4PeerAddressRangefor an IPv4 secondary subnet orIpv6PeerAddressRangefor an IPv6 secondary subnet, but not both. The range must be within the CIDR block of the secondary subnet and must not include the subnet's reserved IP addresses. It must not overlap the peer address range of another route server peer on the same route server endpoint. Route server peers on different endpoints can use the same range, which is the expected configuration for a redundant pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnetId
The ID of the secondary subnet in which to create the route server peer.
- Parameters:
secondarySubnetId- The ID of the secondary subnet in which to create the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to assign to the route server peer.
- Parameters:
tagSpecifications- The tags to assign to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to assign to the route server peer.
- Parameters:
tagSpecifications- The tags to assign to the route server peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to assign to the route server peer.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeServerEndpoint
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder routeServerEndpoint(String routeServerEndpoint) The route server endpoint in the secondary subnet to peer with. Each route server peer connects to one endpoint, and each endpoint is an independent BGP speaker.
For redundancy, create a route server peer for each endpoint, with the same peer address range, ASNs, and BGP options. If you create a peer for only one endpoint, BGP sessions to the other endpoint don't come up and you have no route server redundancy.
- Parameters:
routeServerEndpoint- The route server endpoint in the secondary subnet to peer with. Each route server peer connects to one endpoint, and each endpoint is an independent BGP speaker.For redundancy, create a route server peer for each endpoint, with the same peer address range, ASNs, and BGP options. If you create a peer for only one endpoint, BGP sessions to the other endpoint don't come up and you have no route server redundancy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeServerEndpoint
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder routeServerEndpoint(VirtualEdgeNetworkRouteServerPeerEndpoint routeServerEndpoint) The route server endpoint in the secondary subnet to peer with. Each route server peer connects to one endpoint, and each endpoint is an independent BGP speaker.
For redundancy, create a route server peer for each endpoint, with the same peer address range, ASNs, and BGP options. If you create a peer for only one endpoint, BGP sessions to the other endpoint don't come up and you have no route server redundancy.
- Parameters:
routeServerEndpoint- The route server endpoint in the secondary subnet to peer with. Each route server peer connects to one endpoint, and each endpoint is an independent BGP speaker.For redundancy, create a route server peer for each endpoint, with the same peer address range, ASNs, and BGP options. If you create a peer for only one endpoint, BGP sessions to the other endpoint don't come up and you have no route server redundancy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-