PeeringLocationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. peering. fluent. models. PeeringLocationInner
- com.
- com.
public final class PeeringLocationInner
extends ProxyResource
Peering location is where connectivity could be established to the Microsoft Cloud Edge.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringLocationInner() |
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 |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Kind |
kind()
Get the kind property: The kind of peering that the peering location supports. |
| String |
name()
Get the name property: The name of the resource. |
| String |
peeringLocation()
Get the peering |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 |
withKind(Kind kind)
Set the kind property: The kind of peering that the peering location supports. |
|
Peering |
withPeeringLocation(String peeringLocation)
Set the peering |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PeeringLocationInner
public PeeringLocationInner()
Creates an instance of PeeringLocationInner 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 PeeringLocationInner fromJson(JsonReader jsonReader)
Reads an instance of PeeringLocationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PeeringLocationInner.id()Returns:
kind
public Kind kind()
Get the kind property: The kind of peering that the peering location supports.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PeeringLocationInner.name()Returns:
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The name of the peering location.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PeeringLocationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PeeringLocationInner.type()Returns:
validate
public void validate()
Validates the instance.
withAzureRegion
public PeeringLocationInner withAzureRegion(String azureRegion)
Set the azureRegion property: The Azure region associated with the peering location.
Parameters:
Returns:
withCountry
public PeeringLocationInner withCountry(String country)
Set the country property: The country in which the peering location exists.
Parameters:
Returns:
withDirect
public PeeringLocationInner withDirect(PeeringLocationPropertiesDirect direct)
Set the direct property: The properties that define a direct peering location.
Parameters:
Returns:
withExchange
public PeeringLocationInner withExchange(PeeringLocationPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering location.
Parameters:
Returns:
withKind
public PeeringLocationInner withKind(Kind kind)
Set the kind property: The kind of peering that the peering location supports.
Parameters:
Returns:
withPeeringLocation
public PeeringLocationInner withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The name of the peering location.
Parameters:
Returns: