Share via


ExpressRouteServiceProviderInner Class

public final class ExpressRouteServiceProviderInner
extends Resource

A ExpressRouteResourceProvider object.

Constructor Summary

Constructor Description
ExpressRouteServiceProviderInner()

Creates an instance of ExpressRouteServiceProviderInner class.

Method Summary

Modifier and Type Method and Description
List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered()

Get the bandwidthsOffered property: A list of bandwidths offered.

static ExpressRouteServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteServiceProviderInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

List<String> peeringLocations()

Get the peeringLocations property: A list of peering locations.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route service provider resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteServiceProviderInner withBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered)

Set the bandwidthsOffered property: A list of bandwidths offered.

ExpressRouteServiceProviderInner withId(String id)

Set the id property: Resource ID.

ExpressRouteServiceProviderInner withLocation(String location)
ExpressRouteServiceProviderInner withPeeringLocations(List<String> peeringLocations)

Set the peeringLocations property: A list of peering locations.

ExpressRouteServiceProviderInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteServiceProviderInner

public ExpressRouteServiceProviderInner()

Creates an instance of ExpressRouteServiceProviderInner class.

Method Details

bandwidthsOffered

public List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered()

Get the bandwidthsOffered property: A list of bandwidths offered.

Returns:

the bandwidthsOffered value.

fromJson

public static ExpressRouteServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteServiceProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteServiceProviderInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

ExpressRouteServiceProviderInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteServiceProviderInner.name()

Returns:

the name value.

peeringLocations

public List<String> peeringLocations()

Get the peeringLocations property: A list of peering locations.

Returns:

the peeringLocations value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route service provider resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteServiceProviderInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteServiceProviderInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBandwidthsOffered

public ExpressRouteServiceProviderInner withBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered)

Set the bandwidthsOffered property: A list of bandwidths offered.

Parameters:

bandwidthsOffered - the bandwidthsOffered value to set.

Returns:

the ExpressRouteServiceProviderInner object itself.

withId

public ExpressRouteServiceProviderInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteServiceProviderInner object itself.

withLocation

public ExpressRouteServiceProviderInner withLocation(String location)

Overrides:

ExpressRouteServiceProviderInner.withLocation(String location)

Parameters:

location

withPeeringLocations

public ExpressRouteServiceProviderInner withPeeringLocations(List<String> peeringLocations)

Set the peeringLocations property: A list of peering locations.

Parameters:

peeringLocations - the peeringLocations value to set.

Returns:

the ExpressRouteServiceProviderInner object itself.

withTags

public ExpressRouteServiceProviderInner withTags(Map<String,String> tags)

Overrides:

ExpressRouteServiceProviderInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to