Interface DeleteBgpPeerRequest.Builder

  • Method Details

    • virtualInterfaceId

      DeleteBgpPeerRequest.Builder virtualInterfaceId(String virtualInterfaceId)

      The ID of the virtual interface.

      Parameters:
      virtualInterfaceId - The ID of the virtual interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers.

      • The asnLong attribute accepts both ASN and long ASN ranges.

      • If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong.

      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.

      You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers.

      • The asnLong attribute accepts both ASN and long ASN ranges.

      • If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asnLong

      The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.

      You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers.

      • The asnLong attribute accepts both ASN and long ASN ranges.

      • If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong.

      Parameters:
      asnLong - The long ASN for the BGP peer to be deleted from a Direct Connect virtual interface. The valid range is from 1 to 4294967294 for BGP configuration.

      You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers.

      • The asnLong attribute accepts both ASN and long ASN ranges.

      • If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerAddress

      DeleteBgpPeerRequest.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.
    • bgpPeerId

      DeleteBgpPeerRequest.Builder bgpPeerId(String bgpPeerId)

      The ID of the BGP peer.

      Parameters:
      bgpPeerId - The ID of the BGP peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteBgpPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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.