次の方法で共有


PrivateLinkResourcesListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.PrivateLinkResourcesListResult

Implements

public final class PrivateLinkResourcesListResult
implements JsonSerializable<PrivateLinkResourcesListResult>

Result of the List private link resources operation.

Constructor Summary

Constructor Description
PrivateLinkResourcesListResult()

Creates an instance of PrivateLinkResourcesListResult class.

Method Summary

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

Reads an instance of PrivateLinkResourcesListResult from the JsonReader.

String nextLink()

Get the nextLink property: A link for the next page of private link resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PrivateLinkResourceInner> value()

Get the value property: A collection of private link resources.

PrivateLinkResourcesListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of private link resources.

PrivateLinkResourcesListResult withValue(List<PrivateLinkResourceInner> value)

Set the value property: A collection of private link resources.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourcesListResult

public PrivateLinkResourcesListResult()

Creates an instance of PrivateLinkResourcesListResult class.

Method Details

fromJson

public static PrivateLinkResourcesListResult fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourcesListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: A link for the next page of private link resources.

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: A collection of private link resources.

Returns:

the value value.

withNextLink

public PrivateLinkResourcesListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of private link resources.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PrivateLinkResourcesListResult object itself.

withValue

public PrivateLinkResourcesListResult withValue(List<PrivateLinkResourceInner> value)

Set the value property: A collection of private link resources.

Parameters:

value - the value value to set.

Returns:

the PrivateLinkResourcesListResult object itself.

Applies to