Partilhar via


PrivateLinkServicePropertiesAutoApproval Class

public final class PrivateLinkServicePropertiesAutoApproval
extends ResourceSet

The auto-approval list of the private link service.

Constructor Summary

Constructor Description
PrivateLinkServicePropertiesAutoApproval()

Creates an instance of PrivateLinkServicePropertiesAutoApproval class.

Method Summary

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

Reads an instance of PrivateLinkServicePropertiesAutoApproval from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkServicePropertiesAutoApproval withSubscriptions(List<String> subscriptions)

Set the subscriptions property: The list of subscriptions.

Methods inherited from ResourceSet

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkServicePropertiesAutoApproval

public PrivateLinkServicePropertiesAutoApproval()

Creates an instance of PrivateLinkServicePropertiesAutoApproval class.

Method Details

fromJson

public static PrivateLinkServicePropertiesAutoApproval fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkServicePropertiesAutoApproval from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateLinkServicePropertiesAutoApproval.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PrivateLinkServicePropertiesAutoApproval.validate()

withSubscriptions

public PrivateLinkServicePropertiesAutoApproval withSubscriptions(List subscriptions)

Set the subscriptions property: The list of subscriptions.

Overrides:

PrivateLinkServicePropertiesAutoApproval.withSubscriptions(List<String> subscriptions)

Parameters:

subscriptions

Applies to