ExpressRoutePortsLocationInner Class

public final class ExpressRoutePortsLocationInner
extends Resource

ExpressRoutePorts Peering Location Definition of the ExpressRoutePorts peering location resource.

Constructor Summary

Constructor Description
ExpressRoutePortsLocationInner()

Creates an instance of ExpressRoutePortsLocationInner class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: Address of peering location.

List<ExpressRoutePortsLocationBandwidths> availableBandwidths()

Get the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.

String contact()

Get the contact property: Contact details of peering locations.

static ExpressRoutePortsLocationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortsLocationInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route port location resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRoutePortsLocationInner withAvailableBandwidths(List<ExpressRoutePortsLocationBandwidths> availableBandwidths)

Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.

ExpressRoutePortsLocationInner withId(String id)

Set the id property: Resource ID.

ExpressRoutePortsLocationInner withLocation(String location)
ExpressRoutePortsLocationInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRoutePortsLocationInner

public ExpressRoutePortsLocationInner()

Creates an instance of ExpressRoutePortsLocationInner class.

Method Details

address

public String address()

Get the address property: Address of peering location.

Returns:

the address value.

availableBandwidths

public List availableBandwidths()

Get the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.

Returns:

the availableBandwidths value.

contact

public String contact()

Get the contact property: Contact details of peering locations.

Returns:

the contact value.

fromJson

public static ExpressRoutePortsLocationInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortsLocationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRoutePortsLocationInner 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:

ExpressRoutePortsLocationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRoutePortsLocationInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route port location resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRoutePortsLocationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRoutePortsLocationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAvailableBandwidths

public ExpressRoutePortsLocationInner withAvailableBandwidths(List availableBandwidths)

Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths.

Parameters:

availableBandwidths - the availableBandwidths value to set.

Returns:

the ExpressRoutePortsLocationInner object itself.

withId

public ExpressRoutePortsLocationInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRoutePortsLocationInner object itself.

withLocation

public ExpressRoutePortsLocationInner withLocation(String location)

Overrides:

ExpressRoutePortsLocationInner.withLocation(String location)

Parameters:

location

withTags

public ExpressRoutePortsLocationInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to