PrivateLinkResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.PrivateLinkResourceProperties

Implements

public final class PrivateLinkResourceProperties
implements JsonSerializable<PrivateLinkResourceProperties>

Properties of a private link resource.

Constructor Summary

Constructor Description
PrivateLinkResourceProperties()

Creates an instance of PrivateLinkResourceProperties class.

Method Summary

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

Reads an instance of PrivateLinkResourceProperties from the JsonReader.

String groupId()

Get the groupId property: The private link resource group id.

List<String> requiredMembers()

Get the requiredMembers property: The private link resource required member names.

List<String> requiredZoneNames()

Get the requiredZoneNames property: The private link resource required zone names.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceProperties

public PrivateLinkResourceProperties()

Creates an instance of PrivateLinkResourceProperties class.

Method Details

fromJson

public static PrivateLinkResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupId

public String groupId()

Get the groupId property: The private link resource group id.

Returns:

the groupId value.

requiredMembers

public List requiredMembers()

Get the requiredMembers property: The private link resource required member names.

Returns:

the requiredMembers value.

requiredZoneNames

public List requiredZoneNames()

Get the requiredZoneNames property: The private link resource required zone names.

Returns:

the requiredZoneNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to