Interface NewBGPPeer.Builder

  • Method Details

    • asn

      The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use asnLong instead.

      Parameters:
      asn - The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use asnLong instead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asnLong

      NewBGPPeer.Builder asnLong(Long asnLong)

      The long ASN for a new BGP peer. The valid range is from 1 to 4294967294.

      Parameters:
      asnLong - The long ASN for a new BGP peer. The valid range is from 1 to 4294967294.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authKey

      NewBGPPeer.Builder authKey(String authKey)

      The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

      Parameters:
      authKey - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addressFamily

      NewBGPPeer.Builder addressFamily(String addressFamily)

      The address family for the BGP peer.

      Parameters:
      addressFamily - The address family for the BGP peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • addressFamily

      NewBGPPeer.Builder addressFamily(AddressFamily addressFamily)

      The address family for the BGP peer.

      Parameters:
      addressFamily - The address family for the BGP peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • amazonAddress

      NewBGPPeer.Builder amazonAddress(String amazonAddress)

      The IP address assigned to the Amazon interface.

      Parameters:
      amazonAddress - The IP address assigned to the Amazon interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerAddress

      NewBGPPeer.Builder customerAddress(String customerAddress)

      The IP address assigned to the customer interface.

      Parameters:
      customerAddress - The IP address assigned to the customer interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.