_propDict)) { return $this->_propDict["asn"]; } else { return null; } } /** * Sets the asn * Specifies the ASN of the BGP. * * @param int $val The value of the asn * * @return BgpConfiguration */ public function setAsn($val) { $this->_propDict["asn"] = $val; return $this; } /** * Gets the ipAddress * * @return string|null The ipAddress */ public function getIpAddress() { if (array_key_exists("ipAddress", $this->_propDict)) { return $this->_propDict["ipAddress"]; } else { return null; } } /** * Sets the ipAddress * * @param string $val The value of the ipAddress * * @return BgpConfiguration */ public function setIpAddress($val) { $this->_propDict["ipAddress"] = $val; return $this; } /** * Gets the localIpAddress * Specifies the BGP IP address of peer (Microsoft, in this case). * * @return string|null The localIpAddress */ public function getLocalIpAddress() { if (array_key_exists("localIpAddress", $this->_propDict)) { return $this->_propDict["localIpAddress"]; } else { return null; } } /** * Sets the localIpAddress * Specifies the BGP IP address of peer (Microsoft, in this case). * * @param string $val The value of the localIpAddress * * @return BgpConfiguration */ public function setLocalIpAddress($val) { $this->_propDict["localIpAddress"] = $val; return $this; } /** * Gets the peerIpAddress * Specifies the BGP IP address of customer's on-premise VPN router configuration. * * @return string|null The peerIpAddress */ public function getPeerIpAddress() { if (array_key_exists("peerIpAddress", $this->_propDict)) { return $this->_propDict["peerIpAddress"]; } else { return null; } } /** * Sets the peerIpAddress * Specifies the BGP IP address of customer's on-premise VPN router configuration. * * @param string $val The value of the peerIpAddress * * @return BgpConfiguration */ public function setPeerIpAddress($val) { $this->_propDict["peerIpAddress"] = $val; return $this; } }