PeeringLocationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. peering. fluent. models. PeeringLocationProperties
- com.
Implements
public final class PeeringLocationProperties
implements JsonSerializable<PeeringLocationProperties>
The properties that define a peering location.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringLocationProperties() |
Creates an instance of Peering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureRegion()
Get the azure |
| String |
country()
Get the country property: The country in which the peering location exists. |
|
Peering |
direct()
Get the direct property: The properties that define a direct peering location. |
|
Peering |
exchange()
Get the exchange property: The properties that define an exchange peering location. |
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
| String |
peeringLocation()
Get the peering |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Peering |
withAzureRegion(String azureRegion)
Set the azure |
|
Peering |
withCountry(String country)
Set the country property: The country in which the peering location exists. |
|
Peering |
withDirect(PeeringLocationPropertiesDirect direct)
Set the direct property: The properties that define a direct peering location. |
|
Peering |
withExchange(PeeringLocationPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering location. |
|
Peering |
withPeeringLocation(String peeringLocation)
Set the peering |
Methods inherited from java.lang.Object
Constructor Details
PeeringLocationProperties
public PeeringLocationProperties()
Creates an instance of PeeringLocationProperties class.
Method Details
azureRegion
public String azureRegion()
Get the azureRegion property: The Azure region associated with the peering location.
Returns:
country
public String country()
Get the country property: The country in which the peering location exists.
Returns:
direct
public PeeringLocationPropertiesDirect direct()
Get the direct property: The properties that define a direct peering location.
Returns:
exchange
public PeeringLocationPropertiesExchange exchange()
Get the exchange property: The properties that define an exchange peering location.
Returns:
fromJson
public static PeeringLocationProperties fromJson(JsonReader jsonReader)
Reads an instance of PeeringLocationProperties from the JsonReader.
Parameters:
Returns:
Throws:
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The name of the peering location.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureRegion
public PeeringLocationProperties withAzureRegion(String azureRegion)
Set the azureRegion property: The Azure region associated with the peering location.
Parameters:
Returns:
withCountry
public PeeringLocationProperties withCountry(String country)
Set the country property: The country in which the peering location exists.
Parameters:
Returns:
withDirect
public PeeringLocationProperties withDirect(PeeringLocationPropertiesDirect direct)
Set the direct property: The properties that define a direct peering location.
Parameters:
Returns:
withExchange
public PeeringLocationProperties withExchange(PeeringLocationPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering location.
Parameters:
Returns:
withPeeringLocation
public PeeringLocationProperties withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The name of the peering location.
Parameters:
Returns: