PeeringServiceLocationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. peering. fluent. models. PeeringServiceLocationInner
- com.
- com.
public final class PeeringServiceLocationInner
extends ProxyResource
The peering service location.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringServiceLocationInner() |
Creates an instance of Peering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureRegion()
Get the azure |
| String |
country()
Get the country property: Country of the customer. |
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
state()
Get the state property: State of the customer. |
|
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: Country of the customer. |
|
Peering |
withState(String state)
Set the state property: State of the customer. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PeeringServiceLocationInner
public PeeringServiceLocationInner()
Creates an instance of PeeringServiceLocationInner class.
Method Details
azureRegion
public String azureRegion()
Get the azureRegion property: Azure region for the location.
Returns:
country
public String country()
Get the country property: Country of the customer.
Returns:
fromJson
public static PeeringServiceLocationInner fromJson(JsonReader jsonReader)
Reads an instance of PeeringServiceLocationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PeeringServiceLocationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PeeringServiceLocationInner.name()Returns:
state
public String state()
Get the state property: State of the customer.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PeeringServiceLocationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PeeringServiceLocationInner.type()Returns:
validate
public void validate()
Validates the instance.
withAzureRegion
public PeeringServiceLocationInner withAzureRegion(String azureRegion)
Set the azureRegion property: Azure region for the location.
Parameters:
Returns:
withCountry
public PeeringServiceLocationInner withCountry(String country)
Set the country property: Country of the customer.
Parameters:
Returns:
withState
public PeeringServiceLocationInner withState(String state)
Set the state property: State of the customer.
Parameters:
Returns: