Class BgpSettings

java.lang.Object
com.microsoft.azure.management.network.BgpSettings

public class BgpSettings extends Object
BGP settings details.
  • Constructor Details

    • BgpSettings

      public BgpSettings()
  • Method Details

    • asn

      public Long asn()
      Get the BGP speaker's ASN.
      Returns:
      the asn value
    • withAsn

      public BgpSettings withAsn(Long asn)
      Set the BGP speaker's ASN.
      Parameters:
      asn - the asn value to set
      Returns:
      the BgpSettings object itself.
    • bgpPeeringAddress

      public String bgpPeeringAddress()
      Get the BGP peering address and BGP identifier of this BGP speaker.
      Returns:
      the bgpPeeringAddress value
    • withBgpPeeringAddress

      public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)
      Set the BGP peering address and BGP identifier of this BGP speaker.
      Parameters:
      bgpPeeringAddress - the bgpPeeringAddress value to set
      Returns:
      the BgpSettings object itself.
    • peerWeight

      public Integer peerWeight()
      Get the weight added to routes learned from this BGP speaker.
      Returns:
      the peerWeight value
    • withPeerWeight

      public BgpSettings withPeerWeight(Integer peerWeight)
      Set the weight added to routes learned from this BGP speaker.
      Parameters:
      peerWeight - the peerWeight value to set
      Returns:
      the BgpSettings object itself.