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 Summary
ConstructorsConstructorDescriptionCreates an instance of ExchangePeeringFacility class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bandwidthInMbps property: The bandwidth of the connection between Microsoft and the exchange peering facility.Get the exchangeName property: The name of the exchange peering facility.Get the facilityIPv4Prefix property: The IPv4 prefixes associated with the exchange peering facility.Get the facilityIPv6Prefix property: The IPv6 prefixes associated with the exchange peering facility.static ExchangePeeringFacilityfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExchangePeeringFacility from the JsonReader.Get the microsoftIPv4Address property: The IPv4 address of Microsoft at the exchange peering facility.Get the microsoftIPv6Address property: The IPv6 address of Microsoft at the exchange peering facility.Get the peeringDBFacilityId property: The PeeringDB.com ID of the facility.Get the peeringDBFacilityLink property: The PeeringDB.com URL of the facility.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBandwidthInMbps(Integer bandwidthInMbps) Set the bandwidthInMbps property: The bandwidth of the connection between Microsoft and the exchange peering facility.withExchangeName(String exchangeName) Set the exchangeName property: The name of the exchange peering facility.withFacilityIPv4Prefix(String facilityIPv4Prefix) Set the facilityIPv4Prefix property: The IPv4 prefixes associated with the exchange peering facility.withFacilityIPv6Prefix(String facilityIPv6Prefix) Set the facilityIPv6Prefix property: The IPv6 prefixes associated with the exchange peering facility.withMicrosoftIPv4Address(String microsoftIPv4Address) Set the microsoftIPv4Address property: The IPv4 address of Microsoft at the exchange peering facility.withMicrosoftIPv6Address(String microsoftIPv6Address) Set the microsoftIPv6Address property: The IPv6 address of Microsoft at the exchange peering facility.withPeeringDBFacilityId(Integer peeringDBFacilityId) Set the peeringDBFacilityId property: The PeeringDB.com ID of the facility.withPeeringDBFacilityLink(String peeringDBFacilityLink) Set the peeringDBFacilityLink property: The PeeringDB.com URL of the facility.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExchangePeeringFacility
public ExchangePeeringFacility()Creates an instance of ExchangePeeringFacility class.
-
-
Method Details
-
exchangeName
Get the exchangeName property: The name of the exchange peering facility.- Returns:
- the exchangeName value.
-
withExchangeName
Set the exchangeName property: The name of the exchange peering facility.- Parameters:
exchangeName- the exchangeName value to set.- Returns:
- the ExchangePeeringFacility object itself.
-
bandwidthInMbps
Get the bandwidthInMbps property: The bandwidth of the connection between Microsoft and the exchange peering facility.- Returns:
- the bandwidthInMbps value.
-
withBandwidthInMbps
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
Get the microsoftIPv4Address property: The IPv4 address of Microsoft at the exchange peering facility.- Returns:
- the microsoftIPv4Address value.
-
withMicrosoftIPv4Address
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
Get the microsoftIPv6Address property: The IPv6 address of Microsoft at the exchange peering facility.- Returns:
- the microsoftIPv6Address value.
-
withMicrosoftIPv6Address
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
Get the facilityIPv4Prefix property: The IPv4 prefixes associated with the exchange peering facility.- Returns:
- the facilityIPv4Prefix value.
-
withFacilityIPv4Prefix
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
Get the facilityIPv6Prefix property: The IPv6 prefixes associated with the exchange peering facility.- Returns:
- the facilityIPv6Prefix value.
-
withFacilityIPv6Prefix
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
Get the peeringDBFacilityId property: The PeeringDB.com ID of the facility.- Returns:
- the peeringDBFacilityId value.
-
withPeeringDBFacilityId
Set the peeringDBFacilityId property: The PeeringDB.com ID of the facility.- Parameters:
peeringDBFacilityId- the peeringDBFacilityId value to set.- Returns:
- the ExchangePeeringFacility object itself.
-
peeringDBFacilityLink
Get the peeringDBFacilityLink property: The PeeringDB.com URL of the facility.- Returns:
- the peeringDBFacilityLink value.
-
withPeeringDBFacilityLink
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
- Specified by:
toJsonin interfacecom.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.
-