Class ExpressRouteServiceProviderPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteServiceProviderPropertiesFormat
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteServiceProviderPropertiesFormat>

public final class ExpressRouteServiceProviderPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ExpressRouteServiceProviderPropertiesFormat>
Properties of ExpressRouteServiceProvider.
  • Constructor Details

    • ExpressRouteServiceProviderPropertiesFormat

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

    • peeringLocations

      public List<String> peeringLocations()
      Get the peeringLocations property: A list of peering locations.
      Returns:
      the peeringLocations value.
    • withPeeringLocations

      public ExpressRouteServiceProviderPropertiesFormat withPeeringLocations(List<String> peeringLocations)
      Set the peeringLocations property: A list of peering locations.
      Parameters:
      peeringLocations - the peeringLocations value to set.
      Returns:
      the ExpressRouteServiceProviderPropertiesFormat object itself.
    • bandwidthsOffered

      Get the bandwidthsOffered property: A list of bandwidths offered.
      Returns:
      the bandwidthsOffered value.
    • withBandwidthsOffered

      Set the bandwidthsOffered property: A list of bandwidths offered.
      Parameters:
      bandwidthsOffered - the bandwidthsOffered value to set.
      Returns:
      the ExpressRouteServiceProviderPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the express route service provider 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<ExpressRouteServiceProviderPropertiesFormat>
      Throws:
      IOException
    • fromJson

      public static ExpressRouteServiceProviderPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExpressRouteServiceProviderPropertiesFormat from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExpressRouteServiceProviderPropertiesFormat 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 ExpressRouteServiceProviderPropertiesFormat.