PeeringLocationPropertiesDirect Class

  • java.lang.Object
    • com.azure.resourcemanager.peering.models.PeeringLocationPropertiesDirect

Implements

public final class PeeringLocationPropertiesDirect
implements JsonSerializable<PeeringLocationPropertiesDirect>

The properties that define a direct peering location.

Constructor Summary

Constructor Description
PeeringLocationPropertiesDirect()

Creates an instance of PeeringLocationPropertiesDirect class.

Method Summary

Modifier and Type Method and Description
List<PeeringBandwidthOffer> bandwidthOffers()

Get the bandwidthOffers property: The list of bandwidth offers available at the peering location.

static PeeringLocationPropertiesDirect fromJson(JsonReader jsonReader)

Reads an instance of PeeringLocationPropertiesDirect from the JsonReader.

List<DirectPeeringFacility> peeringFacilities()

Get the peeringFacilities property: The list of direct peering facilities at the peering location.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PeeringLocationPropertiesDirect withBandwidthOffers(List<PeeringBandwidthOffer> bandwidthOffers)

Set the bandwidthOffers property: The list of bandwidth offers available at the peering location.

PeeringLocationPropertiesDirect withPeeringFacilities(List<DirectPeeringFacility> peeringFacilities)

Set the peeringFacilities property: The list of direct peering facilities at the peering location.

Methods inherited from java.lang.Object

Constructor Details

PeeringLocationPropertiesDirect

public PeeringLocationPropertiesDirect()

Creates an instance of PeeringLocationPropertiesDirect class.

Method Details

bandwidthOffers

public List<PeeringBandwidthOffer> bandwidthOffers()

Get the bandwidthOffers property: The list of bandwidth offers available at the peering location.

Returns:

the bandwidthOffers value.

fromJson

public static PeeringLocationPropertiesDirect fromJson(JsonReader jsonReader)

Reads an instance of PeeringLocationPropertiesDirect from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

peeringFacilities

public List<DirectPeeringFacility> peeringFacilities()

Get the peeringFacilities property: The list of direct peering facilities at the peering location.

Returns:

the peeringFacilities value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBandwidthOffers

public PeeringLocationPropertiesDirect withBandwidthOffers(List<PeeringBandwidthOffer> bandwidthOffers)

Set the bandwidthOffers property: The list of bandwidth offers available at the peering location.

Parameters:

bandwidthOffers - the bandwidthOffers value to set.

Returns:

the PeeringLocationPropertiesDirect object itself.

withPeeringFacilities

public PeeringLocationPropertiesDirect withPeeringFacilities(List<DirectPeeringFacility> peeringFacilities)

Set the peeringFacilities property: The list of direct peering facilities at the peering location.

Parameters:

peeringFacilities - the peeringFacilities value to set.

Returns:

the PeeringLocationPropertiesDirect object itself.

Applies to