PeeringProperties Class
- java.
lang. Object - com.
azure. resourcemanager. peering. fluent. models. PeeringProperties
- com.
Implements
public final class PeeringProperties
implements JsonSerializable<PeeringProperties>
The properties that define connectivity to the Microsoft Cloud Edge.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringProperties() |
Creates an instance of Peering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Peering |
direct()
Get the direct property: The properties that define a direct peering. |
|
Peering |
exchange()
Get the exchange property: The properties that define an exchange peering. |
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
| String |
peeringLocation()
Get the peering |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Peering |
withDirect(PeeringPropertiesDirect direct)
Set the direct property: The properties that define a direct peering. |
|
Peering |
withExchange(PeeringPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering. |
|
Peering |
withPeeringLocation(String peeringLocation)
Set the peering |
Methods inherited from java.lang.Object
Constructor Details
PeeringProperties
public PeeringProperties()
Creates an instance of PeeringProperties class.
Method Details
direct
public PeeringPropertiesDirect direct()
Get the direct property: The properties that define a direct peering.
Returns:
exchange
public PeeringPropertiesExchange exchange()
Get the exchange property: The properties that define an exchange peering.
Returns:
fromJson
public static PeeringProperties fromJson(JsonReader jsonReader)
Reads an instance of PeeringProperties from the JsonReader.
Parameters:
Returns:
Throws:
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The location of the peering.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDirect
public PeeringProperties withDirect(PeeringPropertiesDirect direct)
Set the direct property: The properties that define a direct peering.
Parameters:
Returns:
withExchange
public PeeringProperties withExchange(PeeringPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering.
Parameters:
Returns:
withPeeringLocation
public PeeringProperties withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The location of the peering.
Parameters:
Returns: