Бөлісу құралы:


PrivateLinkResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.iotcentral.fluent.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 private link DNS zone name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateLinkResourceProperties withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: The private link resource private link DNS zone name.

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<String> requiredMembers()

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

Returns:

the requiredMembers value.

requiredZoneNames

public List<String> requiredZoneNames()

Get the requiredZoneNames property: The private link resource private link DNS zone name.

Returns:

the requiredZoneNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRequiredZoneNames

public PrivateLinkResourceProperties withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: The private link resource private link DNS zone name.

Parameters:

requiredZoneNames - the requiredZoneNames value to set.

Returns:

the PrivateLinkResourceProperties object itself.

Applies to