Interface CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder

  • 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

      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

      The BGP options for the route server peer.

      This is a convenience method that creates an instance of the VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.Builder avoiding the need to create one manually via VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bgpOptions(VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest).

      Parameters:
      bgpOptions - a consumer that will call methods on VirtualEdgeNetworkRouteServerPeerBgpOptionsRequest.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 is UnauthorizedOperation.

      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 is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      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 Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for 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. Specify Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for 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 Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for 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. Specify Ipv4PeerAddressRange for an IPv4 secondary subnet or Ipv6PeerAddressRange for 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

      CreateVirtualEdgeNetworkRouteServerPeerRequest.Builder secondarySubnetId(String 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

      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

      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

      The tags to assign to the route server peer.

      This is a convenience method that creates an instance of the TagSpecification.Builder avoiding the need to create one manually via TagSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagSpecifications(List<TagSpecification>).

      Parameters:
      tagSpecifications - a consumer that will call methods on TagSpecification.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

      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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.