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 Details

    • ExpressRoutePortsLocationPropertiesFormat

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

    • address

      public String address()
      Get the address property: Address of peering location.
      Returns:
      the address value.
    • contact

      public String contact()
      Get the contact property: Contact details of peering locations.
      Returns:
      the contact value.
    • availableBandwidths

      public List<ExpressRoutePortsLocationBandwidths> 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

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

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