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 Details

    • ExpressRoutePortsLocationBandwidths

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

    • offerName

      public String offerName()
      Get the offerName property: Bandwidth descriptive name.
      Returns:
      the offerName value.
    • valueInGbps

      public Integer 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.