ExpressRouteCircuitServiceProviderProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties

Implements

public final class ExpressRouteCircuitServiceProviderProperties
implements JsonSerializable<ExpressRouteCircuitServiceProviderProperties>

Contains ServiceProviderProperties in an ExpressRouteCircuit.

Constructor Summary

Constructor Description
ExpressRouteCircuitServiceProviderProperties()

Creates an instance of ExpressRouteCircuitServiceProviderProperties class.

Method Summary

Modifier and Type Method and Description
Integer bandwidthInMbps()

Get the bandwidthInMbps property: The BandwidthInMbps.

static ExpressRouteCircuitServiceProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitServiceProviderProperties from the JsonReader.

String peeringLocation()

Get the peeringLocation property: The peering location.

String serviceProviderName()

Get the serviceProviderName property: The serviceProviderName.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteCircuitServiceProviderProperties withBandwidthInMbps(Integer bandwidthInMbps)

Set the bandwidthInMbps property: The BandwidthInMbps.

ExpressRouteCircuitServiceProviderProperties withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The peering location.

ExpressRouteCircuitServiceProviderProperties withServiceProviderName(String serviceProviderName)

Set the serviceProviderName property: The serviceProviderName.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitServiceProviderProperties

public ExpressRouteCircuitServiceProviderProperties()

Creates an instance of ExpressRouteCircuitServiceProviderProperties class.

Method Details

bandwidthInMbps

public Integer bandwidthInMbps()

Get the bandwidthInMbps property: The BandwidthInMbps.

Returns:

the bandwidthInMbps value.

fromJson

public static ExpressRouteCircuitServiceProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitServiceProviderProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCircuitServiceProviderProperties 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 ExpressRouteCircuitServiceProviderProperties.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: The peering location.

Returns:

the peeringLocation value.

serviceProviderName

public String serviceProviderName()

Get the serviceProviderName property: The serviceProviderName.

Returns:

the serviceProviderName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBandwidthInMbps

public ExpressRouteCircuitServiceProviderProperties withBandwidthInMbps(Integer bandwidthInMbps)

Set the bandwidthInMbps property: The BandwidthInMbps.

Parameters:

bandwidthInMbps - the bandwidthInMbps value to set.

Returns:

the ExpressRouteCircuitServiceProviderProperties object itself.

withPeeringLocation

public ExpressRouteCircuitServiceProviderProperties withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The peering location.

Parameters:

peeringLocation - the peeringLocation value to set.

Returns:

the ExpressRouteCircuitServiceProviderProperties object itself.

withServiceProviderName

public ExpressRouteCircuitServiceProviderProperties withServiceProviderName(String serviceProviderName)

Set the serviceProviderName property: The serviceProviderName.

Parameters:

serviceProviderName - the serviceProviderName value to set.

Returns:

the ExpressRouteCircuitServiceProviderProperties object itself.

Applies to