Partilhar via


EdgenodeResult Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.EdgenodeResult

Implements

public final class EdgenodeResult
implements JsonSerializable<EdgenodeResult>

Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results.

Constructor Summary

Constructor Description
EdgenodeResult()

Creates an instance of EdgenodeResult class.

Method Summary

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

Reads an instance of EdgenodeResult from the JsonReader.

String nextLink()

Get the nextLink property: URL to get the next set of edgenode list results if there are any.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<EdgeNodeInner> value()

Get the value property: Edge node of CDN service.

EdgenodeResult withNextLink(String nextLink)

Set the nextLink property: URL to get the next set of edgenode list results if there are any.

Methods inherited from java.lang.Object

Constructor Details

EdgenodeResult

public EdgenodeResult()

Creates an instance of EdgenodeResult class.

Method Details

fromJson

public static EdgenodeResult fromJson(JsonReader jsonReader)

Reads an instance of EdgenodeResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the EdgenodeResult.

nextLink

public String nextLink()

Get the nextLink property: URL to get the next set of edgenode list results if there are any.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<EdgeNodeInner> value()

Get the value property: Edge node of CDN service.

Returns:

the value value.

withNextLink

public EdgenodeResult withNextLink(String nextLink)

Set the nextLink property: URL to get the next set of edgenode list results if there are any.

Parameters:

nextLink - the nextLink value to set.

Returns:

the EdgenodeResult object itself.

Applies to