Class ExpressRoutePortsLocationBandwidths
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRoutePortsLocationBandwidths
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRoutePortsLocationBandwidths>
public final class ExpressRoutePortsLocationBandwidths
extends Object
implements com.azure.json.JsonSerializable<ExpressRoutePortsLocationBandwidths>
ExpressRoutePorts Location Bandwidths
Real-time inventory of available ExpressRoute port bandwidths.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRoutePortsLocationBandwidths class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRoutePortsLocationBandwidths from the JsonReader.Get the offerName property: Bandwidth descriptive name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the valueInGbps property: Bandwidth value in Gbps.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
-
ExpressRoutePortsLocationBandwidths
public ExpressRoutePortsLocationBandwidths()Creates an instance of ExpressRoutePortsLocationBandwidths class.
-
-
Method Details
-
offerName
Get the offerName property: Bandwidth descriptive name.- Returns:
- the offerName value.
-
valueInGbps
Get the valueInGbps property: Bandwidth value in Gbps.- Returns:
- the valueInGbps 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<ExpressRoutePortsLocationBandwidths>- Throws:
IOException
-
fromJson
public static ExpressRoutePortsLocationBandwidths fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRoutePortsLocationBandwidths from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRoutePortsLocationBandwidths 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 ExpressRoutePortsLocationBandwidths.
-