Class ExchangePeeringFacility

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

public final class ExchangePeeringFacility extends Object implements com.azure.json.JsonSerializable<ExchangePeeringFacility>
The properties that define an exchange peering facility.
  • Constructor Details

    • ExchangePeeringFacility

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

    • exchangeName

      public String exchangeName()
      Get the exchangeName property: The name of the exchange peering facility.
      Returns:
      the exchangeName value.
    • withExchangeName

      public ExchangePeeringFacility withExchangeName(String exchangeName)
      Set the exchangeName property: The name of the exchange peering facility.
      Parameters:
      exchangeName - the exchangeName value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • bandwidthInMbps

      public Integer bandwidthInMbps()
      Get the bandwidthInMbps property: The bandwidth of the connection between Microsoft and the exchange peering facility.
      Returns:
      the bandwidthInMbps value.
    • withBandwidthInMbps

      public ExchangePeeringFacility withBandwidthInMbps(Integer bandwidthInMbps)
      Set the bandwidthInMbps property: The bandwidth of the connection between Microsoft and the exchange peering facility.
      Parameters:
      bandwidthInMbps - the bandwidthInMbps value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • microsoftIPv4Address

      public String microsoftIPv4Address()
      Get the microsoftIPv4Address property: The IPv4 address of Microsoft at the exchange peering facility.
      Returns:
      the microsoftIPv4Address value.
    • withMicrosoftIPv4Address

      public ExchangePeeringFacility withMicrosoftIPv4Address(String microsoftIPv4Address)
      Set the microsoftIPv4Address property: The IPv4 address of Microsoft at the exchange peering facility.
      Parameters:
      microsoftIPv4Address - the microsoftIPv4Address value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • microsoftIPv6Address

      public String microsoftIPv6Address()
      Get the microsoftIPv6Address property: The IPv6 address of Microsoft at the exchange peering facility.
      Returns:
      the microsoftIPv6Address value.
    • withMicrosoftIPv6Address

      public ExchangePeeringFacility withMicrosoftIPv6Address(String microsoftIPv6Address)
      Set the microsoftIPv6Address property: The IPv6 address of Microsoft at the exchange peering facility.
      Parameters:
      microsoftIPv6Address - the microsoftIPv6Address value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • facilityIPv4Prefix

      public String facilityIPv4Prefix()
      Get the facilityIPv4Prefix property: The IPv4 prefixes associated with the exchange peering facility.
      Returns:
      the facilityIPv4Prefix value.
    • withFacilityIPv4Prefix

      public ExchangePeeringFacility withFacilityIPv4Prefix(String facilityIPv4Prefix)
      Set the facilityIPv4Prefix property: The IPv4 prefixes associated with the exchange peering facility.
      Parameters:
      facilityIPv4Prefix - the facilityIPv4Prefix value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • facilityIPv6Prefix

      public String facilityIPv6Prefix()
      Get the facilityIPv6Prefix property: The IPv6 prefixes associated with the exchange peering facility.
      Returns:
      the facilityIPv6Prefix value.
    • withFacilityIPv6Prefix

      public ExchangePeeringFacility withFacilityIPv6Prefix(String facilityIPv6Prefix)
      Set the facilityIPv6Prefix property: The IPv6 prefixes associated with the exchange peering facility.
      Parameters:
      facilityIPv6Prefix - the facilityIPv6Prefix value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • peeringDBFacilityId

      public Integer peeringDBFacilityId()
      Get the peeringDBFacilityId property: The PeeringDB.com ID of the facility.
      Returns:
      the peeringDBFacilityId value.
    • withPeeringDBFacilityId

      public ExchangePeeringFacility withPeeringDBFacilityId(Integer peeringDBFacilityId)
      Set the peeringDBFacilityId property: The PeeringDB.com ID of the facility.
      Parameters:
      peeringDBFacilityId - the peeringDBFacilityId value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • peeringDBFacilityLink

      public String peeringDBFacilityLink()
      Get the peeringDBFacilityLink property: The PeeringDB.com URL of the facility.
      Returns:
      the peeringDBFacilityLink value.
    • withPeeringDBFacilityLink

      public ExchangePeeringFacility withPeeringDBFacilityLink(String peeringDBFacilityLink)
      Set the peeringDBFacilityLink property: The PeeringDB.com URL of the facility.
      Parameters:
      peeringDBFacilityLink - the peeringDBFacilityLink value to set.
      Returns:
      the ExchangePeeringFacility object itself.
    • 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<ExchangePeeringFacility>
      Throws:
      IOException
    • fromJson

      public static ExchangePeeringFacility fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExchangePeeringFacility from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExchangePeeringFacility 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 ExchangePeeringFacility.