SharedPrivateLinkResourceList Class

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

Implements

public final class SharedPrivateLinkResourceList
implements JsonSerializable<SharedPrivateLinkResourceList>

A list of shared private link resources.

Constructor Summary

Constructor Description
SharedPrivateLinkResourceList()

Creates an instance of SharedPrivateLinkResourceList class.

Method Summary

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

Reads an instance of SharedPrivateLinkResourceList from the JsonReader.

String nextLink()

Get the nextLink property: Request URL that can be used to query next page of private endpoint connections.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SharedPrivateLinkResourceInner> value()

Get the value property: The list of the shared private link resources.

SharedPrivateLinkResourceList withNextLink(String nextLink)

Set the nextLink property: Request URL that can be used to query next page of private endpoint connections.

SharedPrivateLinkResourceList withValue(List<SharedPrivateLinkResourceInner> value)

Set the value property: The list of the shared private link resources.

Methods inherited from java.lang.Object

Constructor Details

SharedPrivateLinkResourceList

public SharedPrivateLinkResourceList()

Creates an instance of SharedPrivateLinkResourceList class.

Method Details

fromJson

public static SharedPrivateLinkResourceList fromJson(JsonReader jsonReader)

Reads an instance of SharedPrivateLinkResourceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SharedPrivateLinkResourceInner> value()

Get the value property: The list of the shared private link resources.

Returns:

the value value.

withNextLink

public SharedPrivateLinkResourceList withNextLink(String nextLink)

Set the nextLink property: Request URL that can be used to query next page of private endpoint connections. Returned when the total number of requested private endpoint connections exceed maximum page size.

Parameters:

nextLink - the nextLink value to set.

Returns:

the SharedPrivateLinkResourceList object itself.

withValue

public SharedPrivateLinkResourceList withValue(List<SharedPrivateLinkResourceInner> value)

Set the value property: The list of the shared private link resources.

Parameters:

value - the value value to set.

Returns:

the SharedPrivateLinkResourceList object itself.

Applies to