PrivateLinkResourceListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.hardwaresecuritymodules.models.PrivateLinkResourceListResult

Implements

public final class PrivateLinkResourceListResult
implements JsonSerializable<PrivateLinkResourceListResult>

A list of private link resources.

Constructor Summary

Constructor Description
PrivateLinkResourceListResult()

Creates an instance of PrivateLinkResourceListResult class.

Method Summary

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

Reads an instance of PrivateLinkResourceListResult from the JsonReader.

String nextLink()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PrivateLinkResourceInner> value()

Get the value property: Array of private link resources.

PrivateLinkResourceListResult withValue(List<PrivateLinkResourceInner> value)

Set the value property: Array of private link resources.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceListResult

public PrivateLinkResourceListResult()

Creates an instance of PrivateLinkResourceListResult class.

Method Details

fromJson

public static PrivateLinkResourceListResult fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to get the next set of operation 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<PrivateLinkResourceInner> value()

Get the value property: Array of private link resources.

Returns:

the value value.

withValue

public PrivateLinkResourceListResult withValue(List<PrivateLinkResourceInner> value)

Set the value property: Array of private link resources.

Parameters:

value - the value value to set.

Returns:

the PrivateLinkResourceListResult object itself.

Applies to