Class IpConfigurationBgpPeeringAddress

java.lang.Object
com.azure.resourcemanager.network.models.IpConfigurationBgpPeeringAddress
All Implemented Interfaces:
com.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>

public final class IpConfigurationBgpPeeringAddress extends Object implements com.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>
Properties of IPConfigurationBgpPeeringAddress.
  • Constructor Details

    • IpConfigurationBgpPeeringAddress

      public IpConfigurationBgpPeeringAddress()
      Creates an instance of IpConfigurationBgpPeeringAddress class.
  • Method Details

    • ipconfigurationId

      public String ipconfigurationId()
      Get the ipconfigurationId property: The ID of IP configuration which belongs to gateway.
      Returns:
      the ipconfigurationId value.
    • withIpconfigurationId

      public IpConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId)
      Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway.
      Parameters:
      ipconfigurationId - the ipconfigurationId value to set.
      Returns:
      the IpConfigurationBgpPeeringAddress object itself.
    • defaultBgpIpAddresses

      public List<String> defaultBgpIpAddresses()
      Get the defaultBgpIpAddresses property: The list of default BGP peering addresses which belong to IP configuration.
      Returns:
      the defaultBgpIpAddresses value.
    • customBgpIpAddresses

      public List<String> customBgpIpAddresses()
      Get the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.
      Returns:
      the customBgpIpAddresses value.
    • withCustomBgpIpAddresses

      public IpConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List<String> customBgpIpAddresses)
      Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration.
      Parameters:
      customBgpIpAddresses - the customBgpIpAddresses value to set.
      Returns:
      the IpConfigurationBgpPeeringAddress object itself.
    • tunnelIpAddresses

      public List<String> tunnelIpAddresses()
      Get the tunnelIpAddresses property: The list of tunnel public IP addresses which belong to IP configuration.
      Returns:
      the tunnelIpAddresses value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<IpConfigurationBgpPeeringAddress>
      Throws:
      IOException
    • fromJson

      public static IpConfigurationBgpPeeringAddress fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IpConfigurationBgpPeeringAddress if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the IpConfigurationBgpPeeringAddress.