CdnPeeringPrefixInner Class

public final class CdnPeeringPrefixInner
extends ProxyResource

The CDN peering prefix.

Constructor Summary

Constructor Description
CdnPeeringPrefixInner()

Creates an instance of CdnPeeringPrefixInner class.

Method Summary

Modifier and Type Method and Description
String azureRegion()

Get the azureRegion property: The Azure region.

String azureService()

Get the azureService property: The Azure service.

String bgpCommunity()

Get the bgpCommunity property: The BGP Community.

static CdnPeeringPrefixInner fromJson(JsonReader jsonReader)

Reads an instance of CdnPeeringPrefixInner from the JsonReader.

String id()

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

Boolean isPrimaryRegion()

Get the isPrimaryRegion property: The flag that indicates whether or not this is the primary region.

String name()

Get the name property: The name of the resource.

String prefix()

Get the prefix property: The prefix.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CdnPeeringPrefixInner

public CdnPeeringPrefixInner()

Creates an instance of CdnPeeringPrefixInner class.

Method Details

azureRegion

public String azureRegion()

Get the azureRegion property: The Azure region.

Returns:

the azureRegion value.

azureService

public String azureService()

Get the azureService property: The Azure service.

Returns:

the azureService value.

bgpCommunity

public String bgpCommunity()

Get the bgpCommunity property: The BGP Community.

Returns:

the bgpCommunity value.

fromJson

public static CdnPeeringPrefixInner fromJson(JsonReader jsonReader)

Reads an instance of CdnPeeringPrefixInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CdnPeeringPrefixInner 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:

CdnPeeringPrefixInner.id()

Returns:

the id value.

isPrimaryRegion

public Boolean isPrimaryRegion()

Get the isPrimaryRegion property: The flag that indicates whether or not this is the primary region.

Returns:

the isPrimaryRegion value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CdnPeeringPrefixInner.name()

Returns:

the name value.

prefix

public String prefix()

Get the prefix property: The prefix.

Returns:

the prefix value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CdnPeeringPrefixInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CdnPeeringPrefixInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to