PeeringServiceProviderInner Class

public final class PeeringServiceProviderInner
extends ProxyResource

PeeringService provider.

Constructor Summary

Constructor Description
PeeringServiceProviderInner()

Creates an instance of PeeringServiceProviderInner class.

Method Summary

Modifier and Type Method and Description
static PeeringServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of PeeringServiceProviderInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<String> peeringLocations()

Get the peeringLocations property: The list of locations at which the service provider peers with Microsoft.

String serviceProviderName()

Get the serviceProviderName property: The name of the service provider.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

PeeringServiceProviderInner withPeeringLocations(List<String> peeringLocations)

Set the peeringLocations property: The list of locations at which the service provider peers with Microsoft.

PeeringServiceProviderInner withServiceProviderName(String serviceProviderName)

Set the serviceProviderName property: The name of the service provider.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

PeeringServiceProviderInner

public PeeringServiceProviderInner()

Creates an instance of PeeringServiceProviderInner class.

Method Details

fromJson

public static PeeringServiceProviderInner fromJson(JsonReader jsonReader)

Reads an instance of PeeringServiceProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PeeringServiceProviderInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

PeeringServiceProviderInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

PeeringServiceProviderInner.name()

Returns:

the name value.

peeringLocations

public List<String> peeringLocations()

Get the peeringLocations property: The list of locations at which the service provider peers with Microsoft.

Returns:

the peeringLocations value.

serviceProviderName

public String serviceProviderName()

Get the serviceProviderName property: The name of the service provider.

Returns:

the serviceProviderName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PeeringServiceProviderInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

PeeringServiceProviderInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withPeeringLocations

public PeeringServiceProviderInner withPeeringLocations(List<String> peeringLocations)

Set the peeringLocations property: The list of locations at which the service provider peers with Microsoft.

Parameters:

peeringLocations - the peeringLocations value to set.

Returns:

the PeeringServiceProviderInner object itself.

withServiceProviderName

public PeeringServiceProviderInner withServiceProviderName(String serviceProviderName)

Set the serviceProviderName property: The name of the service provider.

Parameters:

serviceProviderName - the serviceProviderName value to set.

Returns:

the PeeringServiceProviderInner object itself.

Applies to