PrivateLinkServicePropertiesVisibility Class

public final class PrivateLinkServicePropertiesVisibility
extends ResourceSet

The visibility list of the private link service.

Constructor Summary

Constructor Description
PrivateLinkServicePropertiesVisibility()

Creates an instance of PrivateLinkServicePropertiesVisibility class.

Method Summary

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

Reads an instance of PrivateLinkServicePropertiesVisibility from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkServicePropertiesVisibility withSubscriptions(List<String> subscriptions)

Set the subscriptions property: The list of subscriptions.

Methods inherited from ResourceSet

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServicePropertiesVisibility

public PrivateLinkServicePropertiesVisibility()

Creates an instance of PrivateLinkServicePropertiesVisibility class.

Method Details

fromJson

public static PrivateLinkServicePropertiesVisibility fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServicePropertiesVisibility from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateLinkServicePropertiesVisibility.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PrivateLinkServicePropertiesVisibility.validate()

withSubscriptions

public PrivateLinkServicePropertiesVisibility withSubscriptions(List subscriptions)

Set the subscriptions property: The list of subscriptions.

Overrides:

PrivateLinkServicePropertiesVisibility.withSubscriptions(List<String> subscriptions)

Parameters:

subscriptions

Applies to