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 Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteServiceProviderPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bandwidthsOffered property: A list of bandwidths offered.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteServiceProviderPropertiesFormat from the JsonReader.Get the peeringLocations property: A list of peering locations.Get the provisioningState property: The provisioning state of the express route service provider resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered) Set the bandwidthsOffered property: A list of bandwidths offered.withPeeringLocations(List<String> peeringLocations) Set the peeringLocations property: A list of peering locations.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
-
ExpressRouteServiceProviderPropertiesFormat
public ExpressRouteServiceProviderPropertiesFormat()Creates an instance of ExpressRouteServiceProviderPropertiesFormat class.
-
-
Method Details
-
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
public ExpressRouteServiceProviderPropertiesFormat withBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered) Set the bandwidthsOffered property: A list of bandwidths offered.- Parameters:
bandwidthsOffered- the bandwidthsOffered value to set.- Returns:
- the ExpressRouteServiceProviderPropertiesFormat object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-