Class ExpressRoutePortsLocationPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRoutePortsLocationPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRoutePortsLocationPropertiesFormat>
public final class ExpressRoutePortsLocationPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ExpressRoutePortsLocationPropertiesFormat>
ExpressRoutePorts Location Properties
Properties specific to ExpressRoutePorts peering location resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRoutePortsLocationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: Address of peering location.Get the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.contact()Get the contact property: Contact details of peering locations.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRoutePortsLocationPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the express route port location resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAvailableBandwidths(List<ExpressRoutePortsLocationBandwidths> availableBandwidths) Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.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
-
ExpressRoutePortsLocationPropertiesFormat
public ExpressRoutePortsLocationPropertiesFormat()Creates an instance of ExpressRoutePortsLocationPropertiesFormat class.
-
-
Method Details
-
address
Get the address property: Address of peering location.- Returns:
- the address value.
-
contact
Get the contact property: Contact details of peering locations.- Returns:
- the contact value.
-
availableBandwidths
Get the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.- Returns:
- the availableBandwidths value.
-
withAvailableBandwidths
public ExpressRoutePortsLocationPropertiesFormat withAvailableBandwidths(List<ExpressRoutePortsLocationBandwidths> availableBandwidths) Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.- Parameters:
availableBandwidths- the availableBandwidths value to set.- Returns:
- the ExpressRoutePortsLocationPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the express route port location resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExpressRoutePortsLocationPropertiesFormat>- Throws:
IOException
-
fromJson
public static ExpressRoutePortsLocationPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRoutePortsLocationPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRoutePortsLocationPropertiesFormat 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 ExpressRoutePortsLocationPropertiesFormat.
-