PrivateLinkResourceList Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.PrivateLinkResourceList

Implements

public final class PrivateLinkResourceList
implements JsonSerializable<PrivateLinkResourceList>

Contains a list of PrivateLinkResource and a possible link to query more results.

Constructor Summary

Constructor Description
PrivateLinkResourceList()

Creates an instance of PrivateLinkResourceList class.

Method Summary

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

Reads an instance of PrivateLinkResourceList from the JsonReader.

String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PrivateLinkResourceInner> value()

Get the value property: List of PrivateLinkResource.

PrivateLinkResourceList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging).

PrivateLinkResourceList withValue(List<PrivateLinkResourceInner> value)

Set the value property: List of PrivateLinkResource.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceList

public PrivateLinkResourceList()

Creates an instance of PrivateLinkResourceList class.

Method Details

fromJson

public static PrivateLinkResourceList fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkResourceList 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 PrivateLinkResourceList.

nextLink

public String nextLink()

Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<PrivateLinkResourceInner> value()

Get the value property: List of PrivateLinkResource.

Returns:

the value value.

withNextLink

public PrivateLinkResourceList withNextLink(String nextLink)

Set the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PrivateLinkResourceList object itself.

withValue

public PrivateLinkResourceList withValue(List<PrivateLinkResourceInner> value)

Set the value property: List of PrivateLinkResource.

Parameters:

value - the value value to set.

Returns:

the PrivateLinkResourceList object itself.

Applies to